mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Auto merge of #10942 - 6br:rename_check_no_panic, r=aneeshusa
Rename check_no_unwrap.sh to check_no_panic.sh Hello, I fixed #10930. <!-- 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/10942) <!-- Reviewable:end -->
This commit is contained in:
commit
3ae0a3335d
3 changed files with 3 additions and 4 deletions
|
@ -16,7 +16,7 @@ matrix:
|
|||
- ./mach test-unit
|
||||
- ./mach build-geckolib
|
||||
- ./mach test-stylo
|
||||
- bash etc/ci/check_no_unwrap.sh
|
||||
- bash etc/ci/check_no_panic.sh
|
||||
- bash etc/ci/lockfile_changed.sh
|
||||
- bash etc/ci/manifest_changed.sh
|
||||
cache:
|
||||
|
|
|
@ -52,7 +52,7 @@ linux-dev:
|
|||
- ./mach test-stylo
|
||||
- bash ./etc/ci/lockfile_changed.sh
|
||||
- bash ./etc/ci/manifest_changed.sh
|
||||
- bash ./etc/ci/check_no_unwrap.sh
|
||||
- bash ./etc/ci/check_no_panic.sh
|
||||
|
||||
linux-rel-wpt:
|
||||
- ./mach build --release
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# Make sure listed files do not contain "unwrap"
|
||||
# Make sure listed files do not use unwrap() or panic!()
|
||||
|
||||
set -o errexit
|
||||
set -o nounset
|
||||
|
@ -13,7 +13,6 @@ set -o pipefail
|
|||
# cd into repo root to make sure paths work in any case
|
||||
cd "$(git rev-parse --show-toplevel)"
|
||||
|
||||
# files that should not contain "unwrap"
|
||||
FILES=("components/compositing/compositor.rs"
|
||||
"components/constellation/constellation.rs"
|
||||
"components/constellation/pipeline.rs"
|
Loading…
Add table
Add a link
Reference in a new issue