mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Move "extra" WPT testing to its own task (chunk "zero")
This commit is contained in:
parent
dfa78986a6
commit
1ca9c5b96b
1 changed files with 23 additions and 24 deletions
|
@ -645,7 +645,7 @@ def macos_wpt():
|
||||||
def wpt_chunks(platform, make_chunk_task, build_task, total_chunks, processes,
|
def wpt_chunks(platform, make_chunk_task, build_task, total_chunks, processes,
|
||||||
repo_dir, chunks="all", repo_kwargs={}):
|
repo_dir, chunks="all", repo_kwargs={}):
|
||||||
if chunks == "all":
|
if chunks == "all":
|
||||||
chunks = [n + 1 for n in range(total_chunks)]
|
chunks = range(total_chunks + 1)
|
||||||
for this_chunk in chunks:
|
for this_chunk in chunks:
|
||||||
task = (
|
task = (
|
||||||
make_chunk_task("WPT chunk %s / %s" % (this_chunk, total_chunks))
|
make_chunk_task("WPT chunk %s / %s" % (this_chunk, total_chunks))
|
||||||
|
@ -662,9 +662,10 @@ def wpt_chunks(platform, make_chunk_task, build_task, total_chunks, processes,
|
||||||
GST_DEBUG="3",
|
GST_DEBUG="3",
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
if this_chunk == chunks[-1]:
|
# `test-wpt` is piped into `cat` so that stdout is not a TTY
|
||||||
task.name += " + extra"
|
# and wptrunner does not use "interactive mode" formatting:
|
||||||
task.extra["treeherder"]["symbol"] += "+"
|
# https://github.com/servo/servo/issues/22438
|
||||||
|
if this_chunk == 0:
|
||||||
task.with_script("""
|
task.with_script("""
|
||||||
./mach test-wpt-failure
|
./mach test-wpt-failure
|
||||||
time ./mach test-wpt --release --binary-arg=--multiprocess \
|
time ./mach test-wpt --release --binary-arg=--multiprocess \
|
||||||
|
@ -697,9 +698,7 @@ def wpt_chunks(platform, make_chunk_task, build_task, total_chunks, processes,
|
||||||
--tracker-api default \
|
--tracker-api default \
|
||||||
--reporter-api default
|
--reporter-api default
|
||||||
""")
|
""")
|
||||||
# `test-wpt` is piped into `cat` so that stdout is not a TTY
|
else:
|
||||||
# and wptrunner does not use "interactive mode" formatting:
|
|
||||||
# https://github.com/servo/servo/issues/22438
|
|
||||||
task.with_script("""
|
task.with_script("""
|
||||||
./mach test-wpt \
|
./mach test-wpt \
|
||||||
--release \
|
--release \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue