]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
make quicktests work again
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 2 Nov 2013 18:54:52 +0000 (18:54 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 2 Nov 2013 18:54:52 +0000 (18:54 +0000)
git-svn-id: https://svn.dealii.org/trunk@31513 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/tests/quick_tests/CMakeLists.txt

index e8cac30ca902262cc605b5b30618070520529b08..a88ff5d18fc5c3f669133a4ef501c810631f2f2f 100644 (file)
@@ -32,7 +32,7 @@ FOREACH(_build ${DEAL_II_BUILD_TYPES})
   DEAL_II_INSOURCE_SETUP_TARGET(${_target} ${_build})
 
   ADD_CUSTOM_COMMAND(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${_target}-OK
-    COMMAND ${_target} > ${CMAKE_CURRENT_BINARY_DIR}/${_target}-OK 2>&1 || (rm ${_target}-OK && exit 1)
+    COMMAND ${_target} > ${CMAKE_CURRENT_BINARY_DIR}/${_target}-OK 2>&1 && echo "${_target}: PASSED." || (rm ${_target}-OK  && exit 1)
     WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
     )
   ADD_CUSTOM_TARGET(${_target}.run DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${_target}-OK)

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.