]> https://gitweb.dealii.org/ - dealii.git/commitdiff
force a rerun of performance tests
authorMatthias Maier <tamiko@43-1.org>
Fri, 11 Feb 2022 10:46:22 +0000 (04:46 -0600)
committerMatthias Maier <tamiko@43-1.org>
Fri, 11 Feb 2022 10:52:32 +0000 (04:52 -0600)
tests/run_testsuite.cmake

index b8744c66a1085cb61c02387dd9a9199bcff91998..52553a1e743f6c261d59f2a86344a12255993893 100644 (file)
@@ -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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.