From: Matthias Maier Date: Sat, 12 Feb 2022 20:42:57 +0000 (-0600) Subject: CMake: allow to use TEST_PICKUP_REGEX with run_performance_tests.cmake X-Git-Tag: v9.4.0-rc1~503^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F13371%2Fhead;p=dealii.git CMake: allow to use TEST_PICKUP_REGEX with run_performance_tests.cmake --- diff --git a/tests/run_performance_tests.cmake b/tests/run_performance_tests.cmake index 5727922957..d10643c466 100644 --- a/tests/run_performance_tests.cmake +++ b/tests/run_performance_tests.cmake @@ -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) diff --git a/tests/run_testsuite.cmake b/tests/run_testsuite.cmake index 6652789304..56be0e6395 100644 --- a/tests/run_testsuite.cmake +++ b/tests/run_testsuite.cmake @@ -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