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
|
||||
for i in range(total_chunks):
|
||||
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():
|
||||
|
@ -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)
|
||||
script = """
|
||||
./mach test-wpt \
|
||||
|
@ -171,7 +171,7 @@ def wpt_chunk(release_build_task, total_chunks, this_chunk, extra):
|
|||
# IndexError: list index out of range
|
||||
# File "/repo/python/servo/testing_commands.py", line 533, in filter_intermittents
|
||||
# pull_request = int(last_merge.split(' ')[4][1:])
|
||||
if extra:
|
||||
if this_chunk == 1:
|
||||
name += " + extra"
|
||||
script += """
|
||||
./mach test-wpt-failure
|
||||
|
@ -295,4 +295,4 @@ CONFIG.repacked_msi_files_expire_in = build_dependencies_artifacts_expire_in
|
|||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main(task_for=os.environ["TASK_FOR"])
|
||||
main(task_for=os.environ["TASK_FOR"])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue