mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Avoid using WPT test runner to update the test manifest.
This commit is contained in:
parent
5f40842294
commit
8b378120a4
3 changed files with 173 additions and 21 deletions
|
@ -8,20 +8,4 @@ set -o errexit
|
|||
set -o nounset
|
||||
set -o pipefail
|
||||
|
||||
echo "About to update manifest."
|
||||
|
||||
# We shouldn't need any binary at all to update the manifests.
|
||||
# Adding "SKIP_TESTS" to skip tests, it doesn't really skip the tests.
|
||||
# It will run "run_wpt" with "'test_list': ['SKIP_TESTS']",
|
||||
# and then pass it into wptrunner, which won't be able to find any tests named
|
||||
# "SKIP_TESTS", and thus won't run any.
|
||||
# Adding "--binary=" to skip looking for a compiled servo binary.
|
||||
./mach test-wpt --manifest-update --binary= SKIP_TESTS
|
||||
|
||||
echo "Updated manifest; about to check if any changes were made to it."
|
||||
echo "If a diff is present, please run './mach update-manifest' \
|
||||
and commit the change."
|
||||
|
||||
diff="$(git diff -- tests/*/MANIFEST.json)"
|
||||
echo "${diff}"
|
||||
[[ -z "${diff}" ]]
|
||||
./mach update-manifest --check-clean
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue