]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix
authorMatthias Maier <tamiko@kyomu.43-1.org>
Fri, 23 Aug 2013 01:12:01 +0000 (01:12 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Fri, 23 Aug 2013 01:12:01 +0000 (01:12 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30444 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/macros/macro_deal_ii_add_test.cmake
deal.II/cmake/scripts/run_test.cmake
tests/fe/fe_face_orientation_nedelec_010.output

index 2d2dd4c8f84b488252f34928600ca1239d7af009..b88892fddee92817da8d198dc434ae16d71cf698 100644 (file)
@@ -85,7 +85,8 @@ MACRO(DEAL_II_ADD_TEST _category _test_name)
       #
       ADD_CUSTOM_COMMAND(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${_test}/output
         COMMAND ${_full_test}
-        COMMAND ${PERL_EXECUTABLE} -pi
+        COMMAND
+            ${PERL_EXECUTABLE} -pi
             ${CMAKE_SOURCE_DIR}/cmake/scripts/normalize.pl
             ${CMAKE_CURRENT_BINARY_DIR}/${_test}/output
         WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${_test}
@@ -100,10 +101,11 @@ MACRO(DEAL_II_ADD_TEST _category _test_name)
       ENDIF()
 
       ADD_CUSTOM_TARGET(${_full_test}.diff
-        COMMAND ${DEAL_II_TEST_DIFF}
+        COMMAND
+          ${DEAL_II_TEST_DIFF}
           ${CMAKE_CURRENT_BINARY_DIR}/${_test}/output
           ${_comparison}
-          | tee ${CMAKE_CURRENT_BINARY_DIR}/${_test}/diff
+          > ${CMAKE_CURRENT_BINARY_DIR}/${_test}/diff
         DEPENDS
           ${CMAKE_CURRENT_BINARY_DIR}/${_test}/output
           ${_comparison}
index 9d52b2e0baf26730cc68f45501522955ea9a544a..44ffaafe0e3b93b4fed0a60e145f9279c6c35ac8 100644 (file)
@@ -12,7 +12,10 @@ EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND}
   )
 
 IF("${_result_code}" STREQUAL "0")
+  MESSAGE("***   ***")
   MESSAGE("${TEST}: Diff successful")
+  MESSAGE(${_output})
+  MESSAGE("***   ***")
 
 ELSE()
 
index fad073357a2fb728823b7ef4f1f261f471236dc9..5933716ced4c9481d40a713329bea04c7242170e 100644 (file)
@@ -1,4 +1,5 @@
 
+32
 DEAL::0  0  0  
 DEAL::0  0  0  
 DEAL::0  0  0  

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.