aboutsummaryrefslogtreecommitdiff
path: root/tests/ci.testscript
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/ci.testscript
parentfafddb3d10c723acdc7f4d9169301d8989c52f1d (diff)
Make use of project configuration variables for tests
Diffstat (limited to 'tests/ci.testscript')
-rw-r--r--tests/ci.testscript11
1 files changed, 1 insertions, 10 deletions
diff --git a/tests/ci.testscript b/tests/ci.testscript
index d1302c0..962b161 100644
--- a/tests/ci.testscript
+++ b/tests/ci.testscript
@@ -11,16 +11,7 @@
exit
end
-# Server to use for the CI request submissions simulation.
-#
-# Note that the empty config.bdep.test.repository value is used to suppress
-# these tests (which require network access).
-#
-server = ($config.bdep.test.repository == [null] \
- ? ($build.version.stage \
- ? 'https://stage.build2.org' \
- : 'https://ci.cppget.org') \
- : "$config.bdep.test.repository")
+server = $config.bdep.tests.ci.server
+if ("$server" == '')
exit