Merge pull request #1544 from jszakmeister/run-tests-error-code

build: print the error result when the tests fail
This commit is contained in:
John Szakmeister 2014-11-25 19:32:35 -05:00
commit 68fcd8b696
2 changed files with 2 additions and 2 deletions

View File

@ -22,5 +22,5 @@ execute_process(
RESULT_VARIABLE res)
if(NOT res EQUAL 0)
message(FATAL_ERROR "Generating helptags failed: ${err}")
message(FATAL_ERROR "Generating helptags failed: ${err} - ${res}")
endif()

View File

@ -20,5 +20,5 @@ execute_process(
RESULT_VARIABLE res)
if(NOT res EQUAL 0)
message(FATAL_ERROR "Running ${TEST_TYPE} tests failed.")
message(FATAL_ERROR "Running ${TEST_TYPE} tests failed with error: ${res}.")
endif()