From: Matthias Maier Date: Mon, 19 Dec 2022 16:08:50 +0000 (-0600) Subject: CMake: do not trigger install during make test X-Git-Tag: v9.5.0-rc1~719^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96c25152de77b25a512b2af4658fcd5c3dab4f69;p=dealii.git CMake: do not trigger install during make test --- diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 5a26ee7da6..0a33d87cdc 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -168,11 +168,14 @@ if(DEFINED DEAL_II_HAVE_TESTS_DIRECTORY) COMMENT "Running quicktests..." ) - # Depend on the library target to ensure that deal.II is actually - # compiled, as well as on the setup_tests_quick_tests target to ensure + # Depend on the library targets (to ensure that deal.II is actually + # compiled), as well as on the setup_tests_quick_tests target to ensure # that quick tests are actually available. - add_dependencies(test library) add_dependencies(test setup_tests_quick_tests) + foreach(_build ${DEAL_II_BUILD_TYPES}) + string(TOLOWER ${_build} _build_lowercase) + add_dependencies(test ${DEAL_II_NAMESPACE}_${_build_lowercase}) + endforeach() # # Add a dummy target to make files known to IDEs like qtcreator