]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: Print TEST_DIR during configuration so that one actually has a clue which...
authorMatthias Maier <tamiko@kyomu.43-1.org>
Thu, 14 Nov 2013 22:20:28 +0000 (22:20 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Thu, 14 Nov 2013 22:20:28 +0000 (22:20 +0000)
git-svn-id: https://svn.dealii.org/trunk@31666 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/tests/CMakeLists.txt
deal.II/tests/quick_tests/CMakeLists.txt

index d594c3c3d43d38776922d08938d3221a1728ace6..3a2d588df4e5f6e47d088a9ffe7eeba3eb94aac9 100644 (file)
@@ -23,6 +23,8 @@
 # of complexity :-(
 #
 
+MESSAGE(STATUS "")
+MESSAGE(STATUS "Setup testsuite with TEST_DIR ${TEST_DIR}")
 ADD_SUBDIRECTORY(quick_tests)
 
 #
index 727911cb15a917e748abd5569c70edeaa073bcf7..a01e681928962c11c68b91c6079688708a352e91 100644 (file)
@@ -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}

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.