mirror of
https://github.com/reactos/CMake.git
synced 2025-02-25 14:41:16 +00:00
Merge topic 'test-server-result'
ea359bc5 Tests: Teach Server test to print server return code Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1212
This commit is contained in:
commit
b40a43a1f4
@ -16,7 +16,7 @@ macro(do_test bsname file)
|
||||
)
|
||||
|
||||
if (NOT test_result EQUAL 0)
|
||||
message(SEND_ERROR "TEST FAILED")
|
||||
message(SEND_ERROR "TEST FAILED: ${test_result}")
|
||||
endif()
|
||||
endmacro()
|
||||
|
||||
|
@ -111,4 +111,5 @@ for obj in testData:
|
||||
print("Completed")
|
||||
|
||||
cmakelib.exitProc(proc)
|
||||
print('cmake-server exited: %d' % proc.returncode)
|
||||
sys.exit(proc.returncode)
|
||||
|
Loading…
x
Reference in New Issue
Block a user