Rename check_no_unwrap.sh to check_no_panic.sh

This commit is contained in:
6br 2016-04-30 13:45:06 +09:00
parent e4fcc066d1
commit 81f2faeb96
3 changed files with 3 additions and 4 deletions

View file

@ -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:

View file

@ -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

View file

@ -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"