#
ADD_CUSTOM_COMMAND(OUTPUT ${_test_directory}/output
+ COMMAND rm -f ${_test_directory}/failing_output
COMMAND touch ${_test_directory}/output
COMMAND
${_run_command}
|| (mv ${_test_directory}/output
${_test_directory}/failing_output
&& echo "${_test_full}: BUILD successful."
- && echo "${_test_full}: RUN failed. Output:"
+ && echo "${_test_full}: RUN failed. ------ Result: ${_test_directory}/failing_output"
+ && echo "${_test_full}: RUN failed. ------ Partial output:"
&& cat ${_test_directory}/failing_output
&& exit 1)
COMMAND
${DEAL_II_SOURCE_DIR}/cmake/scripts/normalize.pl
)
ADD_CUSTOM_COMMAND(OUTPUT ${_test_directory}/diff
+ COMMAND rm -f ${_test_directory}/failing_diff
COMMAND touch ${_test_directory}/diff
COMMAND
${TEST_DIFF}
&& echo "${_test_full}: RUN successful."
&& echo "${_test_full}: DIFF failed. ------ Source: ${_comparison_file}"
&& echo "${_test_full}: DIFF failed. ------ Result: ${_test_directory}/output"
+ && echo "${_test_full}: DIFF failed. ------ Diff: ${_test_directory}/failing_diff"
&& echo "${_test_full}: DIFF failed. ------ Diffs as follows:"
&& cat ${_test_directory}/failing_diff
&& exit 1)