mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Taskcluster WPT: inline extra
variable
This commit is contained in:
parent
829b44e9f0
commit
62e4f7072b
2 changed files with 5 additions and 5 deletions
|
@ -131,7 +131,7 @@ def linux_wpt():
|
||||||
total_chunks = 2
|
total_chunks = 2
|
||||||
for i in range(total_chunks):
|
for i in range(total_chunks):
|
||||||
this_chunk = i + 1
|
this_chunk = i + 1
|
||||||
wpt_chunk(release_build_task, total_chunks, this_chunk, extra=(this_chunk == 1))
|
wpt_chunk(release_build_task, total_chunks, this_chunk)
|
||||||
|
|
||||||
|
|
||||||
def linux_release_build():
|
def linux_release_build():
|
||||||
|
@ -150,7 +150,7 @@ def linux_release_build():
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
def wpt_chunk(release_build_task, total_chunks, this_chunk, extra):
|
def wpt_chunk(release_build_task, total_chunks, this_chunk):
|
||||||
name = "Linux x64: WPT chunk %s / %s" % (this_chunk, total_chunks)
|
name = "Linux x64: WPT chunk %s / %s" % (this_chunk, total_chunks)
|
||||||
script = """
|
script = """
|
||||||
./mach test-wpt \
|
./mach test-wpt \
|
||||||
|
@ -171,7 +171,7 @@ def wpt_chunk(release_build_task, total_chunks, this_chunk, extra):
|
||||||
# IndexError: list index out of range
|
# IndexError: list index out of range
|
||||||
# File "/repo/python/servo/testing_commands.py", line 533, in filter_intermittents
|
# File "/repo/python/servo/testing_commands.py", line 533, in filter_intermittents
|
||||||
# pull_request = int(last_merge.split(' ')[4][1:])
|
# pull_request = int(last_merge.split(' ')[4][1:])
|
||||||
if extra:
|
if this_chunk == 1:
|
||||||
name += " + extra"
|
name += " + extra"
|
||||||
script += """
|
script += """
|
||||||
./mach test-wpt-failure
|
./mach test-wpt-failure
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue