From: maier Date: Thu, 14 Nov 2013 22:20:28 +0000 (+0000) Subject: CMake: Print TEST_DIR during configuration so that one actually has a clue which... X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d944139e9456382ced5ec4aecce14b4be45e0415;p=dealii-svn.git 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 --- 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}