mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 00:11:07 -06:00
Tests: Teach Server test to print server return code
This will aid in diagnosing failures.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user