From: maier Date: Tue, 5 Nov 2013 17:42:17 +0000 (+0000) Subject: Unify output X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48592c9cb59fd7f43451ce55e2b4d895b004639c;p=dealii-svn.git Unify output git-svn-id: https://svn.dealii.org/trunk@31553 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/tests/CMakeLists.txt b/deal.II/tests/CMakeLists.txt index 4bd88c9a4b..23449544a1 100644 --- a/deal.II/tests/CMakeLists.txt +++ b/deal.II/tests/CMakeLists.txt @@ -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}) diff --git a/deal.II/tests/quick_tests/CMakeLists.txt b/deal.II/tests/quick_tests/CMakeLists.txt index d0174546e4..57ef944d87 100644 --- a/deal.II/tests/quick_tests/CMakeLists.txt +++ b/deal.II/tests/quick_tests/CMakeLists.txt @@ -19,14 +19,10 @@ # 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")