File tree Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -64,17 +64,22 @@ cargo_test() {
64
64
65
65
cargo_test_impl () {
66
66
ORIGINAL_RUSTFLAGS=${RUSTFLAGS}
67
- RUSTFLAGS=" ${ORIGINAL_RUSTFLAGS} --cfg test_v16 --cfg test_v32 --cfg test_v64" cargo_test ${@ }
68
- RUSTFLAGS=" ${ORIGINAL_RUSTFLAGS} --cfg test_v128 --cfg test_v256" cargo_test ${@ }
69
- RUSTFLAGS=" ${ORIGINAL_RUSTFLAGS} --cfg test_v512" cargo_test ${@ }
67
+ RUSTFLAGS=" ${ORIGINAL_RUSTFLAGS} --cfg test_v16 --cfg test_v32 --cfg test_v64" cargo_test " ${@ } "
68
+ RUSTFLAGS=" ${ORIGINAL_RUSTFLAGS} --cfg test_v128 --cfg test_v256" cargo_test " ${@ } "
69
+ RUSTFLAGS=" ${ORIGINAL_RUSTFLAGS} --cfg test_v512" cargo_test " ${@ } "
70
70
RUSTFLAGS=${ORIGINAL_RUSTFLAGS}
71
71
}
72
72
73
- # Debug run:
74
- if [[ " ${TARGET} " != " wasm32-unknown-unknown" ]] &&
75
- [[ ! " ${TARGET} " =~ " aarch64" ]] &&
76
- [[ " ${TARGET} " != " armv7-linux-androideabi" ]] &&
77
- [[ " ${TARGET} " != " thumbv7neon-linux-androideabi" ]]; then
73
+ release_only=false
74
+ if [[ " ${TARGET} " == " wasm32-unknown-unknown" ]]; then
75
+ release_only=true
76
+ else if [[ " ${TARGET} " =~ " aarch64" ]]; then
77
+ release_only=true
78
+ else if [[ " ${TARGET} " =~ " androideabi" ]]; then
79
+ release_only=true
80
+ fi
81
+
82
+ if [[ " $release_only " == false ]]; then
78
83
# Run wasm32-unknown-unknown, aarch64, and android in release mode only
79
84
# as for some reason the emulation quality of these is low
80
85
cargo_test_impl
You can’t perform that action at this time.
0 commit comments