[CMake] CTest - change directory before running tests

Petr Smrčka - plain smrcka at 1sig.cz
Wed Jun 20 05:46:52 EDT 2007


Hi everyone,
is it possible to change working directory before calling test execution?

If I add test with ADD_TEST() command, everything is OK unless I need do 
memory checking.
For some reasons I need to have executable outside from a build-tree.  I 
have some launch scripts, which is OK for jus running tests, but it is 
not suitable for running memory checking using Valgrind.

Thanks for a help

Petr Smrčka <smrcka at 1sig dot cz>
První Signální, a.s.
Czech Republic



More information about the CMake mailing list