Tests: Teach Server test to print server return code

This will aid in diagnosing failures.
This commit is contained in:
Brad King
2017-08-30 14:20:44 -04:00
parent 82d9bbf2b7
commit ea359bc5a6
2 changed files with 2 additions and 1 deletions

View File

@@ -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()

View File

@@ -111,4 +111,5 @@ for obj in testData:
print("Completed")
cmakelib.exitProc(proc)
print('cmake-server exited: %d' % proc.returncode)
sys.exit(proc.returncode)