]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: allow to use TEST_PICKUP_REGEX with run_performance_tests.cmake 13371/head
authorMatthias Maier <tamiko@43-1.org>
Sat, 12 Feb 2022 20:42:57 +0000 (14:42 -0600)
committerMatthias Maier <tamiko@43-1.org>
Sat, 12 Feb 2022 20:42:57 +0000 (14:42 -0600)
tests/run_performance_tests.cmake
tests/run_testsuite.cmake

index 572792295731dc18f1be4bdd20458ac3da61fb37..d10643c4660ea137cdcc1ec4b8c97ae067d44fe5 100644 (file)
@@ -11,7 +11,6 @@ SET_IF_EMPTY(SKIP_SUMBISSION TRUE)
 
 SET(CMAKE_BUILD_TYPE Release)
 SET(DEAL_II_COMPILE_EXAMPLES FALSE)
-SET(TEST_PICKUP_REGEX "^performance")
 
 SET(ENABLE_PERFORMANCE_TESTS TRUE)
 
index 665278930437e37af3ed811eede3640edb31c2dc..56be0e6395451cdf35a0689815ed20865ac3e9ce 100644 (file)
@@ -537,11 +537,15 @@ IF("${_res}" STREQUAL "0")
 "
           )
       ENDIF()
+
+      SET(_target setup_tests_performance)
+    ELSE()
+      SET(_target setup_tests)
     ENDIF()
 
-    MESSAGE("-- Running setup_tests")
+    MESSAGE("-- Running ${_target}")
     EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND}
-      --build . --target setup_tests
+      --build . --target ${_target}
       -- ${MAKEOPTS}
       WORKING_DIRECTORY ${CTEST_BINARY_DIRECTORY}
       OUTPUT_QUIET

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.