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
5
.github/workflows/linux-wpt.yml
vendored
5
.github/workflows/linux-wpt.yml
vendored
|
@ -12,6 +12,7 @@ on:
|
|||
env:
|
||||
RUST_BACKTRACE: 1
|
||||
SHELL: /bin/bash
|
||||
WPT_COMMAND_LINE_ARG: "${{ inputs.layout == 'layout-2013' && '--legacy-layout' || '' }}"
|
||||
|
||||
jobs:
|
||||
linux-wpt:
|
||||
|
@ -65,7 +66,7 @@ jobs:
|
|||
- name: Run tests
|
||||
if: ${{ inputs.wpt != 'sync' }}
|
||||
run: |
|
||||
python3 ./mach test-wpt --with-${{ inputs.layout }} \
|
||||
python3 ./mach test-wpt $WPT_COMMAND_LINE_ARG \
|
||||
--release --processes $(nproc) --timeout-multiplier 2 \
|
||||
--total-chunks ${{ env.max_chunk_id }} --this-chunk ${{ matrix.chunk_id }} \
|
||||
--log-raw test-wpt.${{ matrix.chunk_id }}.log \
|
||||
|
@ -77,7 +78,7 @@ jobs:
|
|||
- name: Run tests (sync)
|
||||
if: ${{ inputs.wpt == 'sync' }}
|
||||
run: |
|
||||
python3 ./mach test-wpt --with-${{ inputs.layout }} \
|
||||
python3 ./mach test-wpt $WPT_COMMAND_LINE_ARG \
|
||||
--release --processes $(nproc) --timeout-multiplier 2 \
|
||||
--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