File tree Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -82,13 +82,6 @@ if [ "$QEMU" != "" ]; then
8282 exec egrep " ^(PASSED)|(test result: ok)" " ${CARGO_TARGET_DIR} /out.log"
8383fi
8484
85- # FIXME: x86_64-unknown-linux-gnux32 fails to compile without --release
86- # See https://github.com/rust-lang/rust/issues/59220
87- opt=
88- if [ " $TARGET " = " x86_64-unknown-linux-gnux32" ]; then
89- opt=" --release"
90- fi
91-
9285if [ " $TARGET " = " s390x-unknown-linux-gnu" ]; then
9386 # FIXME: s390x-unknown-linux-gnu often fails to test due to timeout,
9487 # so we retry this N times.
@@ -103,24 +96,24 @@ if [ "$TARGET" = "s390x-unknown-linux-gnu" ]; then
10396 continue
10497 fi
10598 elif [ " $passed " = " 1" ]; then
106- if cargo test $opt --manifest-path libc-test/Cargo.toml --target " ${TARGET} " ; then
99+ if cargo test --manifest-path libc-test/Cargo.toml --target " ${TARGET} " ; then
107100 passed=$(( passed+ 1 ))
108101 continue
109102 fi
110103 elif [ " $passed " = " 2" ]; then
111- if cargo test $opt --features extra_traits --manifest-path libc-test/Cargo.toml --target " ${TARGET} " ; then
104+ if cargo test --features extra_traits --manifest-path libc-test/Cargo.toml --target " ${TARGET} " ; then
112105 break
113106 fi
114107 fi
115108 n=$(( n+ 1 ))
116109 sleep 1
117110 done
118111else
119- cargo test $opt --no-default-features --manifest-path libc-test/Cargo.toml \
112+ cargo test --no-default-features --manifest-path libc-test/Cargo.toml \
120113 --target " ${TARGET} "
121114
122- cargo test $opt --manifest-path libc-test/Cargo.toml --target " ${TARGET} "
115+ cargo test --manifest-path libc-test/Cargo.toml --target " ${TARGET} "
123116
124- RUST_BACKTRACE=1 cargo test $opt --features extra_traits --manifest-path libc-test/Cargo.toml \
117+ RUST_BACKTRACE=1 cargo test --features extra_traits --manifest-path libc-test/Cargo.toml \
125118 --target " ${TARGET} "
126119fi
You can’t perform that action at this time.
0 commit comments