Am Freitag, 5. November 2010 schrieb Gerhard Gappmeier:
> Hi

What relationship does this question have to the mail you are quoting below? 
Don't top-post. Start new threads for new discussions. Otherwise it is a pain 
to follow discussions.

> when you checkout the tutorial you'll see that the NightlyMemcheck
> target does not work.
> (git clone git://github.com/gergap/helloworld.git)
> 
> All tests fail because I'm using the EXECUTABLE_OUTPUT_PATH variable to
> find the test executable.
> e.g. ADD_TEST(SimpleTest ${EXECUTABLE_OUTPUT_PATH}/helloworld 5 3)
> 
> This variable seems to be empty in Nightly and Experimental targets,
> though. So valgrind fails with an error that "/helloworld" cannot be
> found.
> 
> Any ideas why EXECUTABLE_OUTPUT_PATH is empty and how to fix that?

ADD_TEST(NAME SimpleTest COMMAND helloworld 5 3)

Eike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to