If anyone is interessted, I think I found a solution:
git submodule update --init --recursive
Instead of both lines
Best Regards
Am 27.06.2011 um 19:56 schrieb NoRulez :
> Hi,
>
>
>
> currently I use the following to update git submodules during the ctest:
>
>
>
> if (EXISTS "${CTE
Hi,
currently I use the following to update git submodules during the ctest:
if (EXISTS "${CTEST_SOURCE_DIRECTORY}/.gitmodules")
execute_process (COMMAND ${GIT_EXECUTABLE} submodule init
WORKING_DIRECTORY ${CTEST_SOURCE_DIRECTORY})
# Update
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...
On 1/12/2011 12:43 PM, David Cole 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...
Among the improvements was the submodule update command:
htt
On Wed, Jan 12, 2011 at 12:16 PM, Gerhard Gappmeier
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
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.gappme...@ascolab.com> 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.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 in