Re: [CMake] ADD_TEST comparing the command input with a file content

2008-07-08 Thread William Candillon
Hello guys, Thank you very much for the tip! This is exactly what I needed. Best regards, William On Fri, Jul 4, 2008 at 9:56 PM, Alan W. Irwin <[EMAIL PROTECTED]> wrote: > On 2008-07-04 12:08+0200 William Candillon wrote: > >> Hi, >> >> I'm using the ADD_TEST command to test the output of my e

Re: [CMake] ADD_TEST comparing the command input with a file content

2008-07-04 Thread Alan W. Irwin
On 2008-07-04 12:08+0200 William Candillon wrote: 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

Re: [CMake] ADD_TEST comparing the command input with a file content

2008-07-04 Thread Bill Hoffman
William Candillon wrote: 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 inde

[CMake] ADD_TEST comparing the command input with a file content

2008-07-04 Thread William Candillon
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 with