Improve messages with tests/examples/CMakeLists.txt
This commit is contained in:
parent
84e7875e50
commit
86bc579649
|
@ -165,7 +165,7 @@ function(run_test test_path namespace escaped_content)
|
||||||
message("${TEST_OUTPUT}")
|
message("${TEST_OUTPUT}")
|
||||||
message("${TEST_ERROR}")
|
message("${TEST_ERROR}")
|
||||||
if (STRICT_TESTS)
|
if (STRICT_TESTS)
|
||||||
message(FATAL_ERROR ${test_path} " A test failed, bye")
|
message(FATAL_ERROR ${test_path} " An example test failed, aborting.")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@ -256,4 +256,4 @@ foreach(file ${test_files})
|
||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
message(STATUS "All test passed!")
|
message(STATUS "Example tests passed.")
|
||||||
|
|
Loading…
Reference in New Issue