]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Unify output
authorMatthias Maier <tamiko@kyomu.43-1.org>
Tue, 5 Nov 2013 17:42:17 +0000 (17:42 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Tue, 5 Nov 2013 17:42:17 +0000 (17:42 +0000)
git-svn-id: https://svn.dealii.org/trunk@31553 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 4bd88c9a4bfa3ab104966063fa5cbec4176b12c3..23449544a1c402e75dc2a72c66d12805fef904f4 100644 (file)
@@ -81,7 +81,6 @@ LIST(REMOVE_DUPLICATES _categories)
 # Define a subproject for every enabled category:
 #
 
-MESSAGE(STATUS "")
 MESSAGE(STATUS "Regenerating testsuite subprojects")
 
 FOREACH(_category ${_categories})
index d0174546e4b6c29de402139bd109e3e6e7ad0b82..57ef944d871a2e78375cb07a0216034fb04950b8 100644 (file)
 #
 ENABLE_TESTING()
 
-# use debug mode if possible:
-LIST(FIND DEAL_II_BUILD_TYPES "DEBUG" hasdebug)
-IF (NOT hasdebug EQUAL -1)
-  set(_mybuild "DEBUG")
-ELSE()
-  set(_mybuild "RELEASE")
-ENDIF()
-MESSAGE(" we are using build type ${_mybuild}...")
+# 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:
 MACRO(make_quicktest test_basename build_name mpi_run)
@@ -95,3 +91,5 @@ ADD_CUSTOM_TARGET(test
   COMMAND ${CMAKE_CTEST_COMMAND} --force-new-ctest-process
   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
   )
+
+MESSAGE(STATUS "Setup quick_tests in ${_mybuild} mode - Done")

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.