&& rm -f ${_step_dir}/failing_run_output
&& echo "${_test}: RUN stage not invoked due to failing BUILD"
&& exit 1)
- COMMAND
- echo "${_test}: CONFIGURE successful."
- && echo "${_test}: BUILD successful."
- && echo "${_test}: RUN successful."
- && echo "${_test}: PASSED."
WORKING_DIRECTORY ${_step_dir}
DEPENDS ${_step_dir}/build_output
)
IF(_match)
# Add a full test (CONFIGURE, BUILD, RUN):
SET(_target ${_category}-${_step}.${_build_lowercase}.run)
- ADD_CUSTOM_TARGET(${_target} DEPENDS ${_step_dir}/run_output)
+ ADD_CUSTOM_TARGET(${_target}
+ COMMAND
+ echo "${_test}: CONFIGURE successful."
+ && echo "${_test}: BUILD successful."
+ && echo "${_test}: RUN successful."
+ && echo "${_test}: PASSED."
+ DEPENDS ${_step_dir}/run_output
+ )
ELSE()
# Add a minimal test (CONFIGURE, BUILD):
SET(_target ${_category}-${_step}.${_build_lowercase}.build)
- ADD_CUSTOM_TARGET(${_target} DEPENDS ${_step_dir}/build_output)
+ ADD_CUSTOM_TARGET(${_target}
+ COMMAND
+ echo "${_test}: CONFIGURE successful."
+ && echo "${_test}: BUILD successful."
+ && echo "${_test}: PASSED."
+ DEPENDS ${_step_dir}/build_output
+ )
ENDIF()
# And finally add the test:
&& echo "${_test_full}: DIFF failed. Output:"
&& cat ${_test_directory}/failing_diff
&& exit 1)
- COMMAND
- echo "${_test_full}: BUILD successful."
- && echo "${_test_full}: RUN successful."
- && echo "${_test_full}: DIFF successful."
- && echo "${_test_full}: PASSED."
WORKING_DIRECTORY
${_test_directory}
DEPENDS
${_comparison_file}
)
- ADD_CUSTOM_TARGET(${_diff_target} DEPENDS ${_test_directory}/diff)
+ ADD_CUSTOM_TARGET(${_diff_target} DEPENDS ${_test_directory}/diff
+ COMMAND
+ echo "${_test_full}: BUILD successful."
+ && echo "${_test_full}: RUN successful."
+ && echo "${_test_full}: DIFF successful."
+ && echo "${_test_full}: PASSED."
+ )
#
# And finally add the test: