diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2023-06-22 15:49:05 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2023-06-22 19:31:26 +0300 |
commit | c2404728b623588aa89920ae435b48af0fef011e (patch) | |
tree | ba739c37837b71dbc8881cad81204ac2ee6f50e4 /tests/project.testscript | |
parent | f95f24412ea85149556b34abb91f06e247d6db6d (diff) |
Add branch sub-option for git project vcs in bdep-new
Also fix tests which failed if for the initial branch git-init defaults to
the name other than 'master'.
Diffstat (limited to 'tests/project.testscript')
-rw-r--r-- | tests/project.testscript | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/project.testscript b/tests/project.testscript index b40f7da..a675081 100644 --- a/tests/project.testscript +++ b/tests/project.testscript @@ -9,7 +9,10 @@ # project can not be shared between multiple bdep processes. Also we need to # make sure that projects are not cloned while being used by bdep. # -+$new prj 2>- &prj/*** # By default: -t exe -l c++. +# Make sure that the initial branch is named as 'master', since tests may rely +# on that. +# ++$new --vcs git,branch=master prj 2>! &prj/*** # By default: -t exe -l c++. # The most commonly used project cloning command that copies it from the # parent scope working directory. |