You're welcome!
Sorry, must have mixed execute_process and custom_command
together...
Michael
On 6. Jul, 2009, at 16:27, James C. Sutherland wrote:
Thank you - this was a very useful explanation!
For any others who may look at this, note that
execute_command
should be
Thank you - this was a very useful explanation!
For any others who may look at this, note that
execute_command
should be
execute_process
On Jul 4, 2009, at 1:11 AM, Michael Wild wrote:
On 4. Jul, 2009, at 0:56, James C. Sutherland wrote:
I have a test that produces output
execute_command(
COMMAND ${test_cmd}
COMMAND ${CMAKE_COMMAND} -E compare_files ${output_blessed} $
{output_test}
RESULT_VARIABLE test_not_successful
OUTPUT_QUIET
ERROR_QUIET
)
if( test_not_successful )
message( SEND_ERROR ${output_test} does not match $
{output_blessed}! )
endif(
On Jul 6, 2009, at 11:54 AM, James C. Sutherland wrote:
execute_command(
COMMAND ${test_cmd}
COMMAND ${CMAKE_COMMAND} -E compare_files ${output_blessed} $
{output_test}
RESULT_VARIABLE test_not_successful
OUTPUT_QUIET
ERROR_QUIET
)
if( test_not_successful )
message( SEND_ERROR
On 4. Jul, 2009, at 0:56, James C. Sutherland wrote:
I have a test that produces output files that I would like to
compare against a blessed copy. Is there a way to do this in
CMake/CTest? This is probably a very simple thing, but I have not
figured out how to do it.
I have an
I have a test that produces output files that I would like to compare
against a blessed copy. Is there a way to do this in CMake/CTest?
This is probably a very simple thing, but I have not figured out how
to do it.
I have an
add_test( ... )
that creates the test, but I am not