[CMake] specifying complex test behavior

Ajay Panyala ajay at csc.lsu.edu
Sun Mar 18 04:28:16 EDT 2012


Hello,

Is it possible to specify complex behavior for
determining if a test was successful.

For example, if we have

add_test(Differ executable args)

I want to specify that the test named Differ
is successful if the output obtained by running
the specified executable matches a certain file,
i.e the diff of the output and a specified file is empty.

I am not sure how set_property should be specified in
such cases. Clearly using set_property by specifying a
regular expression is not sufficient.

Thanks
Ajay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120318/8d4b7494/attachment.htm>


More information about the CMake mailing list