Fix problem with missing libs/sync/test target.

The problem can be reproduced in a clean regression
test directory by first running tests with --tag=master
and then running tests with --tag=develop.  The fix,
as Beman pointed out, is to init the submodules.
Fortunately the init command is a noop for existing
submodules so added this command to the git testing
sequence when the boost_root directory already exists.

With this patch applied, I am now able to run tests
with master first, and develop second, no error. Tested
on Linux and Darwin.
This commit is contained in:
K. Noel Belcourt 2014-01-28 12:02:13 -07:00
parent 6ae7f9cc0f
commit 13e3858053

View file

@ -907,6 +907,7 @@ class runner:
self.git_command( 'remote', 'set-branches', '--add', 'origin',
branch)
self.git_command( 'pull', '--recurse-submodules' )
self.git_command( 'submodule', 'init')
self.git_command( 'submodule', 'update')
self.git_command( 'checkout', branch)
if clean: