]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Short workaround
authorMatthias Maier <tamiko@kyomu.43-1.org>
Wed, 21 Aug 2013 05:48:16 +0000 (05:48 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Wed, 21 Aug 2013 05:48:16 +0000 (05:48 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30367 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/macros/macro_deal_ii_add_test.cmake

index 72fb1420f0444692fd9bacab95482e364523d3d1..d33f0b63925b54497e041c9464c35e8ae4583b08 100644 (file)
@@ -94,11 +94,7 @@ MACRO(DEAL_II_ADD_TEST _category _test_name)
         COMMAND ${DEAL_II_TEST_DIFF}
           ${CMAKE_CURRENT_BINARY_DIR}/${_test}/output
           ${CMAKE_CURRENT_SOURCE_DIR}/${_test_name}.output
-          > ${CMAKE_CURRENT_BINARY_DIR}/${_test}/diff
-        # and a second time to get the output:
-        COMMAND ${DEAL_II_TEST_DIFF}
-          ${CMAKE_CURRENT_BINARY_DIR}/${_test}/output
-          ${CMAKE_CURRENT_SOURCE_DIR}/${_test_name}.output
+          | tee ${CMAKE_CURRENT_BINARY_DIR}/${_test}/diff
         DEPENDS
           ${CMAKE_CURRENT_BINARY_DIR}/${_test}/output
           ${CMAKE_CURRENT_SOURCE_DIR}/${_test_name}.output

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.