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:
Brad King 2017-08-31 14:10:59 +00:00 committed by Kitware Robot
commit b40a43a1f4
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)