mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Reuse layout-2013 WPT results with layout-2020 when syncing.
This commit is contained in:
parent
19c2ac2ed3
commit
2b46d557ab
1 changed files with 3 additions and 1 deletions
|
@ -83,8 +83,10 @@ function unsafe_run_tests() {
|
|||
# last commit with the new results.
|
||||
function unsafe_update_metadata() {
|
||||
./mach update-wpt "${1}" "${2}" "${3}" || return 1
|
||||
# Hope that any test result changes from layout-2013 are also applicable to layout-2020.
|
||||
./mach update-wpt --layout-2020 "${1}" "${2}" "${3}" || return 2
|
||||
# Ensure any new directories or ini files are included in these changes.
|
||||
git add tests/wpt/metadata tests/wpt/mozilla/meta || return 2
|
||||
git add tests/wpt/metadata tests/wpt/metadata-layout-2020 tests/wpt/mozilla/meta || return 3
|
||||
# Merge all changes with the existing commit.
|
||||
git commit -a --amend --no-edit || return 3
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue