Understood, but the terse nature of the man page makes the book a worthy
second source. Regardless, not providing the proper options causes
ctest look like it is running the tests, and that the tests are passing.
If the online resources were up to snuff with regard to ctest, I would
thoroughly ag
On 2007-10-04 14:14-0500 Juan Sanchez wrote:
I am trying to follow an example that is in the cmake book. It is in
section 8.5 "Using CTest to Drive Complex Tests" on page 109. While my
example differs in that it doesn't use all the arguments being used in
the book's example, it is very importa
I'll just have to go back to the wrapper script. I can't figure out why
running make test can no trigger a rebuild. Also, "--build-noclean"
does not help.
Is there any natural way to get verbose output to the screen from an
executable being run by ctest? Aside from a wrapper script, is there
a
To solve my issue, I only need to specify the following. Otherwise, no
error is printed, the test will always past, and ctest --debug prints
pages and pages of debug info.
ENABLE_TESTING()
ADD_TEST("foo" ${CMAKE_CTEST_COMMAND} --build-and-test
${PROJECT_SOURCE_DIR} ${PROJECT_BINARY_DIR} --build-
I am trying to follow an example that is in the cmake book. It is in
section 8.5 "Using CTest to Drive Complex Tests" on page 109. While my
example differs in that it doesn't use all the arguments being used in
the book's example, it is very important that I understand how to do this.
My primary
On 2007-10-04 13:03-0500 Juan Sanchez wrote:
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
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
a