aboutsummaryrefslogtreecommitdiff
path: root/tests/build
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-04-04 15:55:59 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-04-06 18:51:49 +0300
commit0fb8758d42047c9de9fef2bd34852e80d3ac9a99 (patch)
tree005262473fb522f96da96f1716fd8d7c44a2d501 /tests/build
parent5631205edf682629d1d34634025bdfa2191e6a4f (diff)
Make use of project configuration variables for tests
Diffstat (limited to 'tests/build')
-rw-r--r--tests/build/root.build16
1 files changed, 16 insertions, 0 deletions
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.
#