From: Matthias Maier Date: Fri, 11 Feb 2022 10:46:22 +0000 (-0600) Subject: force a rerun of performance tests X-Git-Tag: v9.4.0-rc1~508^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6e762dc3d96f3ba8ef416a2f5e10d54f912bf2e;p=dealii.git force a rerun of performance tests --- diff --git a/tests/run_testsuite.cmake b/tests/run_testsuite.cmake index b8744c66a1..52553a1e74 100644 --- a/tests/run_testsuite.cmake +++ b/tests/run_testsuite.cmake @@ -521,6 +521,24 @@ IF("${_res}" STREQUAL "0") IF("${_res}" STREQUAL "0") # Only run tests if the build was successful: + IF(ENABLE_PERFORMANCE_TESTS) + MESSAGE("-- Running prune_tests") + EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} + --build . --target prune_tests + -- ${MAKEOPTS} + WORKING_DIRECTORY ${CTEST_BINARY_DIRECTORY} + OUTPUT_QUIET + RESULT_VARIABLE _res + ) + + IF(NOT "${_res}" STREQUAL "0") + MESSAGE(FATAL_ERROR " +\"prune_tests\" target exited with an error. Bailing out. +" + ) + ENDIF() + ENDIF() + MESSAGE("-- Running setup_tests") EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} --build . --target setup_tests