....
parent
2bb1709ca3
commit
58b31039d1
|
|
@ -19,7 +19,7 @@ if (GCOV_ENABLE)
|
|||
# build result is a pass or fail.
|
||||
add_custom_target(test_run_all
|
||||
COMMAND cd ${PROJECT_BINARY_DIR}
|
||||
COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure --timeout 30 && ${CMAKE_COMMAND} -E touch .ctest-finished || exit 0
|
||||
COMMAND env CTEST_OUTPUT_ON_FAILURE=1 ctest --timeout 30 && ${CMAKE_COMMAND} -E touch .ctest-finished || exit 0
|
||||
DEPENDS tests_clean tests
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue