From 0fb8758d42047c9de9fef2bd34852e80d3ac9a99 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sat, 4 Apr 2020 15:55:59 +0300 Subject: Make use of project configuration variables for tests --- tests/build/root.build | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'tests/build') diff --git a/tests/build/root.build b/tests/build/root.build index 2a0666b..55297f8 100644 --- a/tests/build/root.build +++ b/tests/build/root.build @@ -1,6 +1,22 @@ # file : tests/build/root.build # license : MIT; see accompanying LICENSE file +# Use remote repository locations for tests. +# +config [bool] config.bpkg.tests.remote ?= false + +# Enable tests which use ssh protocol for remote git repositories. If true, it +# is assumed that the password-less ssh authentication is arranged for +# git.build2.org. +# +config [bool] config.bpkg.tests.git.ssh ?= false + +# Using the project configuration variables all over the testscripts makes +# them look hairy. Thus, let's provide short aliases for these variables. +# +remote = $config.bpkg.tests.remote +git_ssh = $config.bpkg.tests.git.ssh + # We need to configure C++ module to pass the compiler path to some of bpkg # test commands. # -- cgit v1.1