Improve messages with tests/examples/CMakeLists.txt

This commit is contained in:
Daniel Hahler 2016-10-01 17:24:44 +02:00
parent 84e7875e50
commit 86bc579649
1 changed files with 2 additions and 2 deletions

View File

@ -165,7 +165,7 @@ function(run_test test_path namespace escaped_content)
message("${TEST_OUTPUT}")
message("${TEST_ERROR}")
if (STRICT_TESTS)
message(FATAL_ERROR ${test_path} " A test failed, bye")
message(FATAL_ERROR ${test_path} " An example test failed, aborting.")
endif()
endif()
@ -256,4 +256,4 @@ foreach(file ${test_files})
endif()
endforeach()
message(STATUS "All test passed!")
message(STATUS "Example tests passed.")