mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Let WPT commands take the --legacy-layout argument (#30239)
This also prints a better message when starting tests.
This commit is contained in:
parent
17dec241db
commit
30dbc46d17
7 changed files with 34 additions and 29 deletions
3
.github/workflows/mac-wpt.yml
vendored
3
.github/workflows/mac-wpt.yml
vendored
|
@ -10,6 +10,7 @@ on:
|
|||
env:
|
||||
RUST_BACKTRACE: 1
|
||||
SHELL: /bin/bash
|
||||
WPT_COMMAND_LINE_ARG: "${{ inputs.layout == 'layout-2013' && '--legacy-layout' || '' }}"
|
||||
|
||||
jobs:
|
||||
mac-wpt:
|
||||
|
@ -45,7 +46,7 @@ jobs:
|
|||
run: python3 ./mach smoketest --release
|
||||
- name: Run tests
|
||||
run: |
|
||||
python3 ./mach test-wpt --with-${{ inputs.layout }} \
|
||||
python3 ./mach test-wpt $WPT_COMMAND_LINE_ARG \
|
||||
--release --processes $(sysctl -n hw.logicalcpu) --timeout-multiplier 8 \
|
||||
--total-chunks ${{ env.max_chunk_id }} --this-chunk ${{ matrix.chunk_id }} \
|
||||
--log-raw test-wpt.${{ matrix.chunk_id }}.log \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue