]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Testsuite: Invert order of files to diff so that the output shows the changes with...
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 22 Apr 2014 10:31:02 +0000 (10:31 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 22 Apr 2014 10:31:02 +0000 (10:31 +0000)
git-svn-id: https://svn.dealii.org/trunk@32802 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/macros/macro_add_test.cmake
deal.II/tests/mesh_converter/CMakeLists.txt

index 96c677b5c19520828a531e982ec2646806b0a4de..ecbf75ec9506a9042cd52e62bf8ca6e4ee59f2ce 100644 (file)
@@ -206,8 +206,8 @@ MACRO(DEAL_II_ADD_TEST _category _test_name _comparison_file)
         COMMAND touch ${_test_directory}/diff
         COMMAND
           ${${_test_diff_variable}} # see comment in line 72
-            ${_test_directory}/output
             ${_comparison_file}
+            ${_test_directory}/output
             > ${_test_directory}/diff
           || (mv ${_test_directory}/diff
                  ${_test_directory}/failing_diff
index 0bac004ae8fdabf44b7664f0488f04e79a2efef6..76db4e634d9b5340a080e41bb1c742e81ed19cc4 100644 (file)
@@ -67,7 +67,7 @@ FOREACH(_full_file ${_meshes})
       COMMAND rm -f ${_test_directory}/failing_diff
       COMMAND touch ${_test_directory}/diff
       COMMAND
-        ${TEST_DIFF} ${_test_directory}/output ${_comparison_file} > ${_test_directory}/diff
+        ${TEST_DIFF} ${_comparison_file} ${_test_directory}/output > ${_test_directory}/diff
         || (mv ${_test_directory}/diff
                ${_test_directory}/failing_diff
             && echo "${_test_full}: RUN successful."

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.