Skip to content

Commit aa5ffe0

Browse files
committed
Bug 1995469 [wpt PR 55566] - tools: update download URL schema for Servo nightly, a=testonly
Automatic update from web-platform-tests tools: update download URL schema for Servo nightly Servo has adopted a new URL schema for its nightly builds that includes the platform/toolchain names. Update the corresponding download & install logic in wpt to use this new schema as the old one will be discontinued soon. Signed-off-by: Mukilan Thiyagarajan <mukilanigalia.com> -- wpt-commits: 75fe081bfb9159fe8c3c2a4e474da45677a374b4 wpt-pr: 55566 UltraBlame original commit: e4c22888401a665369c3f57680eafaa074cabb53
1 parent 25a01eb commit aa5ffe0

File tree

1 file changed

+128
-35
lines changed

1 file changed

+128
-35
lines changed

testing/web-platform/tests/tools/wpt/browser.py

Lines changed: 128 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -19768,41 +19768,118 @@
1976819768
:
1976919769

1977019770
platform
19771+
triple
1977119772
=
1977219773
{
1977319774

19775+
(
1977419776
"
19775-
Linux
19777+
Darwin
19778+
"
19779+
"
19780+
arm64
1977619781
"
19782+
)
1977719783
:
19784+
(
19785+
"
19786+
mac
19787+
-
19788+
arm64
1977819789
"
19779-
linux
1978019790
"
19791+
aarch64
19792+
-
19793+
apple
19794+
-
19795+
darwin
19796+
"
19797+
)
1978119798

19799+
(
1978219800
"
19783-
Windows
19801+
Darwin
19802+
"
19803+
"
19804+
x86_64
1978419805
"
19806+
)
1978519807
:
19808+
(
1978619809
"
19787-
win
19810+
mac
1978819811
"
19812+
"
19813+
x86_64
19814+
-
19815+
apple
19816+
-
19817+
darwin
19818+
"
19819+
)
1978919820

19821+
(
19822+
"
19823+
Linux
1979019824
"
19791-
Darwin
1979219825
"
19826+
x86_64
19827+
"
19828+
)
1979319829
:
19830+
(
1979419831
"
19795-
mac
19832+
linux
19833+
"
19834+
"
19835+
x86_64
19836+
-
19837+
linux
19838+
-
19839+
gnu
19840+
"
19841+
)
19842+
19843+
(
1979619844
"
19845+
Windows
19846+
"
19847+
"
19848+
AMD64
19849+
"
19850+
)
19851+
:
19852+
(
19853+
"
19854+
win
19855+
"
19856+
"
19857+
x86_64
19858+
-
19859+
windows
19860+
-
19861+
msvc
19862+
"
19863+
)
1979719864

1979819865
}
1979919866
.
1980019867
get
1980119868
(
19869+
(
1980219870
uname
1980319871
[
1980419872
0
1980519873
]
19874+
uname
19875+
[
19876+
4
19877+
]
19878+
)
19879+
(
19880+
None
19881+
None
19882+
)
1980619883
)
1980719884

1980819885
if
@@ -19852,18 +19929,20 @@
1985219929

1985319930
elif
1985419931
platform
19855-
=
19856-
=
19932+
in
19933+
[
1985719934
"
1985819935
win
1985919936
"
19860-
or
19861-
platform
19862-
=
19863-
=
1986419937
"
1986519938
mac
1986619939
"
19940+
"
19941+
mac
19942+
-
19943+
arm64
19944+
"
19945+
]
1986719946
:
1986819947

1986919948
raise
@@ -19883,9 +19962,21 @@
1988319962
"
1988419963
)
1988519964

19965+
default_filename
19966+
=
19967+
f
19968+
"
19969+
servo
19970+
-
19971+
{
19972+
triple
19973+
}
19974+
"
19975+
1988619976
return
1988719977
(
1988819978
platform
19979+
default_filename
1988919980
extension
1989019981
decompress
1989119982
)
@@ -19926,6 +20017,7 @@
1992620017
)
1992720018

1992820019
platform
20020+
filename
1992920021
extension
1993020022
_
1993120023
=
@@ -19935,8 +20027,22 @@
1993520027
(
1993620028
)
1993720029

19938-
url
20030+
artifact
1993920031
=
20032+
f
20033+
"
20034+
{
20035+
filename
20036+
}
20037+
{
20038+
extension
20039+
}
20040+
"
20041+
20042+
return
20043+
get
20044+
(
20045+
f
1994020046
"
1994120047
https
1994220048
:
@@ -19950,25 +20056,14 @@
1995020056
/
1995120057
nightly
1995220058
/
19953-
%
19954-
s
20059+
{
20060+
platform
20061+
}
1995520062
/
19956-
servo
19957-
-
19958-
latest
19959-
%
19960-
s
20063+
{
20064+
artifact
20065+
}
1996120066
"
19962-
%
19963-
(
19964-
platform
19965-
extension
19966-
)
19967-
19968-
return
19969-
get
19970-
(
19971-
url
1997220067
)
1997320068

1997420069
def
@@ -20012,6 +20107,7 @@
2001220107
)
2001320108

2001420109
_
20110+
default_filename
2001520111
extension
2001620112
_
2001720113
=
@@ -20030,11 +20126,7 @@
2003020126
not
2003120127
None
2003220128
else
20033-
"
20034-
servo
20035-
-
20036-
latest
20037-
"
20129+
default_filename
2003820130

2003920131
with
2004020132
open
@@ -20114,6 +20206,7 @@
2011420206
.
2011520207
pwd
2011620208

20209+
_
2011720210
_
2011820211
_
2011920212
decompress

0 commit comments

Comments
 (0)