From: Matthias Maier Date: Fri, 13 Sep 2013 17:18:12 +0000 (+0000) Subject: Next bugfix X-Git-Tag: v8.1.0~570^2~350 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b4d3349c2425732115b2c446173d4613d97ff79;p=dealii.git Next bugfix git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30693 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/cmake/macros/macro_deal_ii_add_test.cmake b/deal.II/cmake/macros/macro_deal_ii_add_test.cmake index 57c67056f9..ffc8cc13d3 100644 --- a/deal.II/cmake/macros/macro_deal_ii_add_test.cmake +++ b/deal.II/cmake/macros/macro_deal_ii_add_test.cmake @@ -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} )