mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Include non-upstream metadata changes in WPT sync.
This commit is contained in:
parent
0fa3248723
commit
5b050d093e
1 changed files with 2 additions and 4 deletions
|
@ -67,12 +67,10 @@ function unsafe_run_tests() {
|
||||||
# last commit with the new results.
|
# last commit with the new results.
|
||||||
function unsafe_update_metadata() {
|
function unsafe_update_metadata() {
|
||||||
./mach update-wpt "${1}" || return 1
|
./mach update-wpt "${1}" || return 1
|
||||||
# Ignore any metadata changes to files that weren't modified by this sync.
|
|
||||||
git checkout -- tests/wpt/mozilla/meta || return 2
|
|
||||||
# Ensure any new directories or ini files are included in these changes.
|
# Ensure any new directories or ini files are included in these changes.
|
||||||
git add tests/wpt/metadata || return 3
|
git add tests/wpt/ || return 2
|
||||||
# Merge all changes with the existing commit.
|
# Merge all changes with the existing commit.
|
||||||
git commit -a --amend --no-edit || return 4
|
git commit -a --amend --no-edit || return 3
|
||||||
}
|
}
|
||||||
|
|
||||||
# Push the branch to a remote branch, then open a PR for the branch
|
# Push the branch to a remote branch, then open a PR for the branch
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue