зеркало из https://github.com/mozilla/gecko-dev.git
servo: Merge #19896 - Address WPT sync problems from nightly run (from servo:jdm-patch-7); r=aneeshusa
1. The commit author is inferred from the hostname 2. There's no debug build present, so the update-manifest command exits immediately 3. The test run opens too many files and is killed Source-Repo: https://github.com/servo/servo Source-Revision: 5f68abb190773f94d8fe3fa5da4ca2230f069fce --HG-- extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear extra : subtree_revision : c411630af9f6ebc60f3f66219559688c88dca0bf
This commit is contained in:
Родитель
ceacf0fdb3
Коммит
c557f13438
|
@ -15,6 +15,8 @@ BRANCH_NAME="wpt_update_${CURRENT_DATE}"
|
|||
|
||||
export GIT_AUTHOR_NAME="WPT Sync Bot"
|
||||
export GIT_AUTHOR_EMAIL="josh+wptsync@joshmatthews.net"
|
||||
export GIT_COMMITTER_NAME="${GIT_AUTHOR_NAME}"
|
||||
export GIT_COMMITTER_EMAIL="${GIT_AUTHOR_EMAIL}"
|
||||
|
||||
# Retrieve the HEAD commit and extract its hash
|
||||
function latest_git_commit() {
|
||||
|
@ -39,7 +41,7 @@ function unsafe_pull_from_upstream() {
|
|||
fi
|
||||
|
||||
# Update the manifest to include the new changes.
|
||||
./mach update-manifest || return 3
|
||||
./mach update-manifest --release || return 3
|
||||
|
||||
# Amend the existing commit with the new changes from updating the manifest.
|
||||
git commit -a --amend --no-edit || return 4
|
||||
|
@ -57,7 +59,7 @@ function cleanup() {
|
|||
# Build Servo and run the full WPT testsuite, saving the results to a log file.
|
||||
function unsafe_run_tests() {
|
||||
# Run the full testsuite and record the new test results.
|
||||
./mach test-wpt --release --processes 24 --log-raw "${1}" \
|
||||
./mach test-wpt --release --processes 12 --log-raw "${1}" \
|
||||
--always-succeed || return 1
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче