[CMake] ADD_TEST comparing the command input with a file content
William Candillon
wcandillon at gmail.com
Fri Jul 4 06:08:55 EDT 2008
Hi,
I'm using the ADD_TEST command to test the output of my executable like this:
ADD_TEST(test mycommand)
SET_TEST_PROPERTIES(test PROPERTIES PASS_REGULAR_EXPRESSION "foo")
However, I would like to compare the output with the content of a
file. Is there a platform independent way to do that without writing a
perl script for example ?
Best regards,
William
--
William Candillon
http://apdt.googlecode.com
More information about the CMake
mailing list