Include non-upstream metadata changes in WPT sync.

This commit is contained in:
Josh Matthews 2018-02-23 10:21:52 -05:00 committed by GitHub
parent 0fa3248723
commit 5b050d093e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,12 +67,10 @@ function unsafe_run_tests() {
# last commit with the new results.
function unsafe_update_metadata() {
./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.
git add tests/wpt/metadata || return 3
git add tests/wpt/ || return 2
# 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