[CMake] generating CTest tests

Aditya Herlambang aditya15417 at hotmail.com
Fri Aug 28 12:57:35 EDT 2009


Hello,
I am really a total noob in this CTest stuffs, I read the documentation and it says that I need to use the ADD_TEST method to test an executable right?the format is the following:
ADD_TEST(test1 "../build/executable" "1")

where test1 is the name of the test and 1 is the argument passed to the executable. Question is how do I specify if the test pass then print something, otherwiseprint the other thing?

Thanks
Alex
_________________________________________________________________
See all the ways you can stay connected to friends and family
http://www.microsoft.com/windows/windowslive/default.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090828/47b2587d/attachment.htm>


More information about the CMake mailing list