mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Run webgpu tests only on macOS
This commit is contained in:
parent
fa4d3cb3d2
commit
4622c876fa
2 changed files with 20 additions and 4 deletions
|
@ -549,6 +549,7 @@ def macos_wpt():
|
||||||
repo_dir="repo",
|
repo_dir="repo",
|
||||||
total_chunks=20,
|
total_chunks=20,
|
||||||
processes=8,
|
processes=8,
|
||||||
|
run_webgpu=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@ -569,7 +570,7 @@ def linux_wpt_common(total_chunks, layout_2020):
|
||||||
|
|
||||||
|
|
||||||
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", layout_2020=False):
|
repo_dir, chunks="all", layout_2020=False, run_webgpu=False):
|
||||||
if layout_2020:
|
if layout_2020:
|
||||||
start = 1 # Skip the "extra" WPT testing, a.k.a. chunk 0
|
start = 1 # Skip the "extra" WPT testing, a.k.a. chunk 0
|
||||||
name_prefix = "Layout 2020 "
|
name_prefix = "Layout 2020 "
|
||||||
|
@ -618,6 +619,22 @@ def wpt_chunks(platform, make_chunk_task, build_task, total_chunks, processes,
|
||||||
# and wptrunner does not use "interactive mode" formatting:
|
# and wptrunner does not use "interactive mode" formatting:
|
||||||
# https://github.com/servo/servo/issues/22438
|
# https://github.com/servo/servo/issues/22438
|
||||||
if this_chunk == 0:
|
if this_chunk == 0:
|
||||||
|
if run_webgpu:
|
||||||
|
webgpu_script = """
|
||||||
|
time ./mach test-wpt _webgpu --release --processes $PROCESSES \
|
||||||
|
--headless --log-raw test-webgpu.log \
|
||||||
|
--log-errorsummary webgpu-errorsummary.log \
|
||||||
|
| cat
|
||||||
|
./mach filter-intermittents \
|
||||||
|
webgpu-errorsummary.log \
|
||||||
|
--log-intermittents webgpu-intermittents.log \
|
||||||
|
--log-filteredsummary filtered-webgpu-errorsummary.log \
|
||||||
|
--tracker-api default \
|
||||||
|
--reporter-api default
|
||||||
|
"""
|
||||||
|
else:
|
||||||
|
webgpu_script = ""
|
||||||
|
|
||||||
task.with_script("""
|
task.with_script("""
|
||||||
time python ./mach test-wpt --release --binary-arg=--multiprocess \
|
time python ./mach test-wpt --release --binary-arg=--multiprocess \
|
||||||
--processes $PROCESSES \
|
--processes $PROCESSES \
|
||||||
|
@ -654,7 +671,8 @@ def wpt_chunks(platform, make_chunk_task, build_task, total_chunks, processes,
|
||||||
--log-filteredsummary filtered-wdspec-errorsummary.log \
|
--log-filteredsummary filtered-wdspec-errorsummary.log \
|
||||||
--tracker-api default \
|
--tracker-api default \
|
||||||
--reporter-api default
|
--reporter-api default
|
||||||
""")
|
""" + webgpu_script
|
||||||
|
)
|
||||||
else:
|
else:
|
||||||
task.with_script("""
|
task.with_script("""
|
||||||
./mach test-wpt \
|
./mach test-wpt \
|
||||||
|
|
|
@ -5,8 +5,6 @@ skip: true
|
||||||
skip: false
|
skip: false
|
||||||
[_webgl]
|
[_webgl]
|
||||||
skip: false
|
skip: false
|
||||||
[_webgpu]
|
|
||||||
skip: false
|
|
||||||
[cookies]
|
[cookies]
|
||||||
skip: false
|
skip: false
|
||||||
[samesite]
|
[samesite]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue