tweak the order of the tests
This commit is contained in:
+7
-7
@@ -6,13 +6,6 @@ main() {
|
||||
return
|
||||
fi
|
||||
|
||||
# test that the functions don't contain invocations of `panic!`
|
||||
case $TARGET in
|
||||
armv7-unknown-linux-gnueabihf)
|
||||
cross build --release --target $TARGET --example no-panic
|
||||
;;
|
||||
esac
|
||||
|
||||
# quick check
|
||||
cargo check
|
||||
|
||||
@@ -24,6 +17,13 @@ main() {
|
||||
cargo run -p musl-generator --target x86_64-unknown-linux-musl
|
||||
cargo run -p newlib-generator
|
||||
|
||||
# test that the functions don't contain invocations of `panic!`
|
||||
case $TARGET in
|
||||
armv7-unknown-linux-gnueabihf)
|
||||
cross build --release --target $TARGET --example no-panic
|
||||
;;
|
||||
esac
|
||||
|
||||
# run unit tests
|
||||
cross test --lib --features checked --target $TARGET --release
|
||||
|
||||
|
||||
Reference in New Issue
Block a user