[CMake] Batch Files in CTest (instead executables)

David Graf david.graf at 28msec.com
Wed Mar 31 05:47:34 EDT 2010


Hello Michael

> Instead of checking the exit status, you could have CTest check the output for success or failure. Have a look at SET_TESTS_PROPERTIES.

Unfortunately, that doesn't work in our case. We are running a testdriver for the result checking. There reason is: Our tests produce xml and XML cannot be compared like a string. It must be translated into canonical form before it can be compared. We wrote this part in C++. Therefore, we cannot do the comparison in CMake.

David


More information about the CMake mailing list