mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Auto merge of #10917 - askeing:fix_10909, r=aneeshusa
The manifest_changed.sh doesn't need binary to update the manifests fix #10909 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10917) <!-- Reviewable:end -->
This commit is contained in:
commit
d3f55fbf60
1 changed files with 12 additions and 1 deletions
|
@ -1,5 +1,16 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
./mach test-wpt --manifest-update SKIP_TESTS > /dev/null
|
set -o errexit
|
||||||
|
set -o nounset
|
||||||
|
set -o pipefail
|
||||||
|
|
||||||
|
# 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 > /dev/null
|
||||||
|
|
||||||
diff=$(git diff -- tests/*/MANIFEST.json)
|
diff=$(git diff -- tests/*/MANIFEST.json)
|
||||||
echo "$diff"
|
echo "$diff"
|
||||||
[[ ! $diff ]]
|
[[ ! $diff ]]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue