]> https://gitweb.dealii.org/ - dealii.git/commitdiff
I want output ;-)
authorMatthias Maier <tamiko@kyomu.43-1.org>
Wed, 21 Aug 2013 05:44:28 +0000 (05:44 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Wed, 21 Aug 2013 05:44:28 +0000 (05:44 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30365 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/macros/macro_deal_ii_add_test.cmake
deal.II/cmake/scripts/run_test.cmake

index 9968a5124e6e5ea6a2327cce2bec5377a1b4416b..72fb1420f0444692fd9bacab95482e364523d3d1 100644 (file)
@@ -95,6 +95,10 @@ MACRO(DEAL_II_ADD_TEST _category _test_name)
           ${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
         DEPENDS
           ${CMAKE_CURRENT_BINARY_DIR}/${_test}/output
           ${CMAKE_CURRENT_SOURCE_DIR}/${_test_name}.output
index 7763aa739cb4acd67fab48bfbec81045d15d3dd9..5d6e84f2f88867761e2e86dc72b6d2ad26d0b0c8 100644 (file)
@@ -7,7 +7,7 @@
 
 MACRO(CALLBACK _target _msg_success _msg_error)
   EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND}
-    --build ${DEAL_II_BINARY_DIR} --target ${_target}
+    --build ${DEAL_II_BINARY_DIR} --target ${_target}/fast
     RESULT_VARIABLE _result_code
     OUTPUT_VARIABLE _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.