Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename check_no_unwrap.sh to check_no_panic.sh #10942

Merged
merged 1 commit into from Oct 29, 2016
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

@@ -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"
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.