[CMake] ctest and git submodules

Gerhard Gappmeier gerhard.gappmeier at ascolab.com
Fri Jan 14 03:37:59 EST 2011


Hi David,

with 2.8.3 the submodule update works. Thx.

On Wednesday 12 January 2011 18:43:41 you wrote:
> Are you using CMake 2.8.3? If not, you should upgrade. There were some
> improvements made w.r.t. ctest_update and git repos in that release. I
> think the submodule update was one of them...
> 
> 
> HTH,
> David
> 
> 
> On Wed, Jan 12, 2011 at 12:16 PM, Gerhard Gappmeier <
> 
> gerhard.gappmeier at 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?
> > 
> > 
> > --
> > 
> > Gerhard Gappmeier
> > 
> > ascolab GmbH - automation systems communication laboratory
> > 
> > Tel.: +49 9131 691 123
> > 
> > Fax: +49 9131 691 128
> > 
> > Web: http://www.ascolab.com
> > 
> > GPG Key Id: 5AAC50C4
> > 
> > GPG Fingerprint: 967A 15F1 2788 164D CCA3 6C46 07CD 6F82 5AAC 50C4
> > 
> > --
> > 
> > ascolab GmbH
> > 
> > Geschäftsführer: Gerhard Gappmeier, Matthias Damm, Uwe Steinkrauß
> > 
> > Sitz der Gesellschaft: Am Weichselgarten 7 . 91058 Erlangen . Germany
> > 
> > Registernummer: HRB 9360
> > 
> > Registergericht: Amtsgericht Fürth
> > 
> > _______________________________________________
> > 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

-- 
Gerhard Gappmeier
ascolab GmbH - automation systems communication laboratory
Tel.: +49 9131 691 123
Fax: +49 9131 691 128
Web: http://www.ascolab.com
GPG Key Id: 5AAC50C4
GPG Fingerprint: 967A 15F1 2788 164D CCA3 6C46 07CD 6F82 5AAC 50C4

--
ascolab GmbH
Geschäftsführer: Gerhard Gappmeier, Matthias Damm, Uwe Steinkrauß
Sitz der Gesellschaft: Am Weichselgarten 7 . 91058 Erlangen . Germany
Registernummer: HRB 9360
Registergericht: Amtsgericht Fürth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110114/17346805/attachment.htm>


More information about the CMake mailing list