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() {
6464
6565cargo_test_impl () {
6666 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 " ${@ } "
7070 RUSTFLAGS=${ORIGINAL_RUSTFLAGS}
7171}
7272
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
7883 # Run wasm32-unknown-unknown, aarch64, and android in release mode only
7984 # as for some reason the emulation quality of these is low
8085 cargo_test_impl
You can’t perform that action at this time.
0 commit comments