From 28c987ad421380366468b3e37d1fee2dbdb0f15e Mon Sep 17 00:00:00 2001 From: maier Date: Fri, 13 Sep 2013 17:18:12 +0000 Subject: [PATCH] Next bugfix 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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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} ) -- 2.39.5