diff options
Diffstat (limited to 'tests/build/root.build')
-rw-r--r-- | tests/build/root.build | 29 |
1 files changed, 27 insertions, 2 deletions
diff --git a/tests/build/root.build b/tests/build/root.build index f0cf397..1d29eec 100644 --- a/tests/build/root.build +++ b/tests/build/root.build @@ -1,11 +1,36 @@ # file : tests/build/root.build -# copyright : Copyright (c) 2014-2019 Code Synthesis Ltd # license : MIT; see accompanying LICENSE file +# Enable all tests, including those which takes a long time to execute. +# +config [bool] config.bpkg.tests.all ?= false + +# Use remote instead of local repository locations for tests. +# +# Note that this is an "instead of" rather than "in addition to" configuration +# so ideally you would want to run both with and without this enabled. This is +# also one of the reasons remote tests are not enabled by default (the other +# being that they take forever). +# +config [bool] config.bpkg.tests.remote ?= false + +# Additionally enable tests that 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. +# +all = $config.bpkg.tests.all +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. # -using cxx +using cxx.config # Setup the bpkg that we are testing. # |