[CMake] ctest command

Juan Sanchez Juan.Sanchez at amd.com
Thu Oct 4 14:03:32 EDT 2007


Hi,

I'm trying to run the following test:
ADD_TEST("foo" ${CMAKE_TEST_COMMAND} --build-run-dir
${PROJECT_SOURCE_DIR} -VV --test-command "ls -ltar /tmp")

But it doesn't seem to be running correctly.  It needs to be run from
${PROJECT_SOURCE_DIR}, and the test command needs to be able to take the
arguments given.

Please let me know what I need to do to get this to run.

Testing/Temporary/LastTest.log

always appears to be empty and the -VV option does not work.

This is cmake 2.4.7.

Thanks,

Juan


-- 
Juan Sanchez
Juan.Sanchez at amd.com
800-538-8450 Ext. 54395
512-602-4395




More information about the CMake mailing list