From: Matthias Maier Date: Mon, 30 Mar 2015 22:58:44 +0000 (+0200) Subject: Testsuite: Use DEAL_II_PATH instead of DEAL_II_DIR X-Git-Tag: v8.3.0-rc1~338^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cb6c427860b20cd246222af0438bebe3d7c7684;p=dealii.git Testsuite: Use DEAL_II_PATH instead of DEAL_II_DIR --- diff --git a/cmake/macros/macro_deal_ii_add_test.cmake b/cmake/macros/macro_deal_ii_add_test.cmake index 9f45ca4722..1f4f4b66d1 100644 --- a/cmake/macros/macro_deal_ii_add_test.cmake +++ b/cmake/macros/macro_deal_ii_add_test.cmake @@ -196,7 +196,7 @@ MACRO(DEAL_II_ADD_TEST _category _test_name _comparison_file) # ADD_CUSTOM_COMMAND(OUTPUT ${_test_directory}/output - COMMAND sh ${DEAL_II_DIR}/${DEAL_II_SHARE_RELDIR}/scripts/run_test.sh + COMMAND sh ${DEAL_II_PATH}/${DEAL_II_SHARE_RELDIR}/scripts/run_test.sh run "${_test_full}" "${_run_command}" "${_test_diff}" "${DIFF_EXECUTABLE}" "${_comparison_file}" COMMAND ${PERL_EXECUTABLE} @@ -211,7 +211,7 @@ MACRO(DEAL_II_ADD_TEST _category _test_name _comparison_file) ) ADD_CUSTOM_COMMAND(OUTPUT ${_test_directory}/diff - COMMAND sh ${DEAL_II_DIR}/${DEAL_II_SHARE_RELDIR}/scripts/run_test.sh + COMMAND sh ${DEAL_II_PATH}/${DEAL_II_SHARE_RELDIR}/scripts/run_test.sh diff "${_test_full}" "${_run_command}" "${_test_diff}" "${DIFF_EXECUTABLE}" "${_comparison_file}" WORKING_DIRECTORY