mirror of
https://github.com/boostorg/boost.git
synced 2025-04-17 18:46:14 +00:00
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:
parent
6ae7f9cc0f
commit
13e3858053
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue