From 7b57cd6fa700338d4c3224e8bc27763602d0e80d Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Thu, 14 Nov 2013 22:20:28 +0000 Subject: [PATCH] CMake: Print TEST_DIR during configuration so that one actually has a clue which TEST_DIR was processed git-svn-id: https://svn.dealii.org/trunk@31666 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/tests/CMakeLists.txt | 2 ++ deal.II/tests/quick_tests/CMakeLists.txt | 9 ++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/deal.II/tests/CMakeLists.txt b/deal.II/tests/CMakeLists.txt index d594c3c3d4..3a2d588df4 100644 --- a/deal.II/tests/CMakeLists.txt +++ b/deal.II/tests/CMakeLists.txt @@ -23,6 +23,8 @@ # of complexity :-( # +MESSAGE(STATUS "") +MESSAGE(STATUS "Setup testsuite with TEST_DIR ${TEST_DIR}") ADD_SUBDIRECTORY(quick_tests) # diff --git a/deal.II/tests/quick_tests/CMakeLists.txt b/deal.II/tests/quick_tests/CMakeLists.txt index 727911cb15..a01e681928 100644 --- a/deal.II/tests/quick_tests/CMakeLists.txt +++ b/deal.II/tests/quick_tests/CMakeLists.txt @@ -21,7 +21,6 @@ ENABLE_TESTING() # Use the first available build type (this prefers debug mode if available): LIST(GET DEAL_II_BUILD_TYPES 0 _mybuild) -MESSAGE(STATUS "") MESSAGE(STATUS "Setup quick_tests in ${_mybuild} mode") # define a macro to set up a quick test: @@ -45,10 +44,10 @@ MACRO(make_quicktest test_basename build_name mpi_run) ) ENDIF() - ADD_CUSTOM_TARGET(${_target}.run - DEPENDS ${_target} - DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${_target}-OK - COMMAND echo "${_target}: PASSED.") + ADD_CUSTOM_TARGET(${_target}.run + DEPENDS ${_target} + DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${_target}-OK + COMMAND echo "${_target}: PASSED.") ADD_TEST(NAME ${_target} COMMAND ${CMAKE_COMMAND} -DTRGT=${_target}.run -DTEST=${_target} -- 2.39.5