From 21ba92064c22cfd2cdc01382e565537b3dccc4a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gu=C3=B0ni=20M=C3=A1r=20Gilbert?= Date: Sun, 9 Oct 2022 19:58:02 +0000 Subject: [PATCH] repeat test that timeouts --- tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index e2be0f3..6047dd2 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -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_COMMAND} -E env CTEST_OUTPUT_ON_FAILURE=1 ${CMAKE_CTEST_COMMAND} --timeout 30 && ${CMAKE_COMMAND} -E touch .ctest-finished || exit 0 + COMMAND ${CMAKE_COMMAND} -E env CTEST_OUTPUT_ON_FAILURE=1 ${CMAKE_CTEST_COMMAND} --timeout 30 --repeat :<3> && ${CMAKE_COMMAND} -E touch .ctest-finished || exit 0 DEPENDS tests_clean tests )