]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Quick tests: now that we have interactive output run debug and release variants
authorMatthias Maier <tamiko@43-1.org>
Tue, 4 Jul 2023 15:08:59 +0000 (10:08 -0500)
committerMatthias Maier <tamiko@43-1.org>
Tue, 4 Jul 2023 20:15:54 +0000 (15:15 -0500)
tests/CMakeLists.txt
tests/run_quick_tests.cmake

index ce5d7a0e44fb26e5affdd7722b8b39ef70705e6b..b07dc512a3cd18f21301f2051ac9743b4bd8bf7c 100644 (file)
@@ -168,10 +168,8 @@ endforeach()
 # Define a top-level "test" target that runs our quick tests wrapper.
 #
 
-# Use the first available build type (this prefers debug mode if available):
-list(GET DEAL_II_BUILD_TYPES 0 _my_build)
 add_custom_target(test
-  COMMAND ${CMAKE_COMMAND} -DCMAKE_BUILD_TYPE=${_my_build} -P ${CMAKE_CURRENT_SOURCE_DIR}/run_quick_tests.cmake
+  COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_SOURCE_DIR}/run_quick_tests.cmake
   WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
   COMMENT "Running quicktests..."
   USES_TERMINAL
index e242ce2617a1380bc5258a44b5ee59eb5ec647f7..201bbee322213aa488d6f976324f98fef640bba6 100644 (file)
@@ -50,15 +50,10 @@ if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.18)
     )
 endif()
 
-#
-# Always restrict quick tests with specified build type, but run the step
-# and affinity quick tests in all available configuration:
-#
-
 string(TOLOWER "${CMAKE_BUILD_TYPE}" _build_type)
 execute_process(COMMAND ${CMAKE_CTEST_COMMAND}
   -j${_n_processors} -C ${CMAKE_BUILD_TYPE} --force-new-ctest-process
-  -R "quick_tests/(step.debug|step.release|affinity|.*.${_build_type})"
+  -R "quick_tests/"
   --output-on-failure
   ${_redirect_output}
   RESULT_VARIABLE _return_value

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.