aboutsummaryrefslogtreecommitdiff
path: root/run_unittests.py
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2020-04-10 10:10:10 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2020-04-13 13:29:33 +0300
commita6239d5100eff74e9358bbd51029bd2810d19f54 (patch)
tree934837ec92e8bba2f32e38e446d865134f704e90 /run_unittests.py
parent6ebf674798cb0822ff2242c7cb8ee7abb0b0f6cc (diff)
downloadmeson-a6239d5100eff74e9358bbd51029bd2810d19f54.zip
meson-a6239d5100eff74e9358bbd51029bd2810d19f54.tar.gz
meson-a6239d5100eff74e9358bbd51029bd2810d19f54.tar.bz2
wrap: Add fallback urls
It can happen that a server is temporaly down, tarballs often have many mirrors available so we should be able to add at least one fallback mirror in wrap files.
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-xrun_unittests.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/run_unittests.py b/run_unittests.py
index a9ceddd..4cd6e17 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -6517,11 +6517,13 @@ c = ['{0}']
[wrap-file]
directory = foo
- source_url = file://{}
+ source_url = http://server.invalid/foo
+ source_fallback_url = file://{}
source_filename = foo.tar.xz
source_hash = {}
- patch_url = file://{}
+ patch_url = http://server.invalid/foo
+ patch_fallback_url = file://{}
patch_filename = foo-patch.tar.xz
patch_hash = {}
""".format(source_filename, source_hash, patch_filename, patch_hash))