From 30f6a563fc8c5b2d5c70cd55838aca4e5692b3e4 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 9 Aug 2018 20:17:14 +0300 Subject: Fix init, config and status commands tests to pass for older git versions --- tests/project.test | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests/project.test') diff --git a/tests/project.test b/tests/project.test index 6ab2b4b..444ca00 100644 --- a/tests/project.test +++ b/tests/project.test @@ -2,6 +2,8 @@ # copyright : Copyright (c) 2014-2018 Code Synthesis Ltd # license : MIT; see accompanying LICENSE file +.include git.test + # Create and initialize a sample build2 C++ executable project that will be # copied by subsequent tests and scopes setup commands. The common approach # will be that group scopes copy and modify the parent scope project as @@ -10,7 +12,9 @@ # 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++. +# By default: -t exe -l c++. +# ++$new prj --vcs ($git_supported ? git : none) 2>- &prj/*** # The most commonly used project cloning command that copies it from the # parent scope working directory. -- cgit v1.1