In fact that was easy, simply calling ctest as --test-command did the trick.
Sorry for the noise On Wed, Nov 4, 2009 at 12:50 PM, Mathieu Malaterre <mathieu.malate...@gmail.com> wrote: > Hi there, > > I am struggling to understand how to use ctest --build-and-test. I > have reproduce the issue with a minimal cmakelists.txt file at: > > http://gdcm.svn.sf.net/viewvc/gdcm/Sandbox/CMakeBug/10/CMakeLists.txt?view=markup > > which all it does is simply configure a cmakelists.txt file for the > --build-and-test step. The building step is working fine, no problem. > However I do not understand how to execute the test as listed in the > configured cmakelists.txt, which : > > http://gdcm.svn.sf.net/viewvc/gdcm/Sandbox/CMakeBug/10/BlaCMakeLists.txt.in?view=markup > > What is the pupose of --test-command ? How should I specify 'execute > the make test target' within the --build-and-test command ? > > Thanks, > -- > Mathieu > -- Mathieu _______________________________________________ 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