aboutsummaryrefslogtreecommitdiff
path: root/tests/build/root.build
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-04-04 22:18:21 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-04-07 15:05:02 +0300
commitc1d9261b3801897ba9b3fef5a79e73d5459d2cf1 (patch)
tree41317431fd9f3a685bfde338beb2c2ff33298b2b /tests/build/root.build
parentfafddb3d10c723acdc7f4d9169301d8989c52f1d (diff)
Make use of project configuration variables for tests
Diffstat (limited to 'tests/build/root.build')
-rw-r--r--tests/build/root.build23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/build/root.build b/tests/build/root.build
index f0a353d..6199d8d 100644
--- a/tests/build/root.build
+++ b/tests/build/root.build
@@ -1,6 +1,29 @@
# file : tests/build/root.build
# license : MIT; see accompanying LICENSE file
+# Server to use for the CI request submissions simulation. Use the empty
+# string to disable the CI tests (which require network access).
+#
+# Note that by default we test against the ci-dir handler on stage and the
+# ci-load handler on public (thus it's not ci.stage.build2.org).
+#
+config [string] config.bdep.tests.ci.server ?= \
+ ($build.version.stage \
+ ? 'https://stage.build2.org' \
+ : 'https://ci.cppget.org')
+
+# Repository to use for the package submissions simulation. Use the empty
+# string to disable the package submission tests (which require network
+# access).
+#
+# Note that by default we test against the submit-dir handler on stage and the
+# submit-git handler on public.
+#
+config [string] config.bdep.tests.publish.repository ?= \
+ ($build.version.stage \
+ ? 'https://stage.build2.org' \
+ : 'https://cppget.org')
+
# We need to configure C/C++ modules to pass the compiler paths to some of
# bdep test commands.
#