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