I do not know if ctest knows how to update submodules automatically. I have it on my todo list to talk to Brad King about this for the same reason for updating the ParaView dashboards here at Kitware. I'll share what I find out.<br>
<br><div class="gmail_quote">On Mon, Apr 19, 2010 at 7:13 PM, Moreland, Kenneth <span dir="ltr"><<a href="mailto:kmorel@sandia.gov">kmorel@sandia.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>
<font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">Yes. That seems to fix the problem. However, is there a way to get ctest to run that after pulling? Otherwise we’ll still get a bunch of errors in the dashboard.<br>
<br>
-Ken<div class="im"><br>
<br>
<br>
On 4/19/10 5:09 PM, "Dave Partyka" <<a href="http://dave.partyka@kitware.com" target="_blank">dave.partyka@kitware.com</a>> wrote:<br>
<br>
</div></span></font><blockquote><div class="im"><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">does 'git submodule update' help?<br>
<br>
On Mon, Apr 19, 2010 at 7:02 PM, Moreland, Kenneth <<a href="http://kmorel@sandia.gov" target="_blank">kmorel@sandia.gov</a>> wrote:<br>
</span></font></div><blockquote><div class="im"><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">I noticed something odd when converting to the new git repositories today. After only cloning the repository, setting up the modules, and then pulling (using the --rebase flag as described on the Wiki), status reports that I have made a change in my repository even though I have not. Here is a terminal capture of a newly cloned ParaView repository (after modules and hooks are set up).<br>
<br>
</span></font></div><blockquote><font size="2"><font face="Consolas, Courier New, Courier"><span style="font-size:10pt"><div class="im">kmorel2 0> git status /Users/kmorel/src/ParaView<br>
# On branch master<br>
nothing to commit (working directory clean)<br>
kmorel2 1> git pull --rebase /Users/kmorel/src/ParaView<br>
remote: Counting objects: 44, done.<br>
remote: Compressing objects: 100% (26/26), done.<br>
remote: Total 26 (delta 20), reused 0 (delta 0)<br>
Unpacking objects: 100% (26/26), done.<br></div>