]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Next bugfix
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 13 Sep 2013 17:18:12 +0000 (17:18 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 13 Sep 2013 17:18:12 +0000 (17:18 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30693 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/macros/macro_deal_ii_add_test.cmake

index 57c67056f96f34e36f236d5a55d6d29be36c3415..ffc8cc13d3f72d6642c78f8cc1809b9945e6fbc2 100644 (file)
@@ -102,7 +102,7 @@ MACRO(DEAL_II_ADD_TEST _category _test_name _comparison_file _n_cpu)
         SET(_test_directory ${CMAKE_CURRENT_BINARY_DIR}/${_test_short}/mpirun=${_n_cpu})
 
         # The command to issue:
-        SET(_run_command mpirun -np ${_n_cpu} ${_target})
+        SET(_run_command mpirun -np ${_n_cpu} ${CMAKE_CURRENT_BINARY_DIR}/${_test_short}/${_target})
       ENDIF()
 
       FILE(MAKE_DIRECTORY ${_test_directory})
@@ -181,9 +181,9 @@ MACRO(DEAL_II_ADD_TEST _category _test_name _comparison_file _n_cpu)
           && echo "${_test_full}: DIFF successful."
           && echo "${_test_full}: PASSED."
         WORKING_DIRECTORY
-          ${CMAKE_CURRENT_BINARY_DIR}/${_test}
+          ${_test_directory}
         DEPENDS
-          ${CMAKE_CURRENT_BINARY_DIR}/${_test}/output
+          ${_test_directory}/output
           ${_comparison_file}
         )
 

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.