On Wed, Jan 12, 2011 at 12:16 PM, Gerhard Gappmeier <gerhard.gappme...@ascolab.com> wrote: > Hi, > > my project is stored in a git repo with submodules. > > I'm wondering if ctest is updating also the submodules when running > > ctest Nightly|Continuous etc. > > or just the main repo. > > I believe not, unless I have some other problems with my test script. > > I could do a manual "git pull && git submodule init && git submodule update" > > before running ctest, but then "ctest -D Continuous" will do nothing because > it doesn't detect the change anymore. > > Has anybody working ctest with git submodules? > See this ParaView CTest script for an example of how we handle submodules in ParaView right now. ctest_update will see changes in the main repo, but not any of the submodules. The submodules are then updated, and the build begins. Last time I looked there was no automatic update of the submodules.
http://www.cdash.org/CDash/viewNotes.php?buildid=823021 Marcus _______________________________________________ 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