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
82
82
exec egrep " ^(PASSED)|(test result: ok)" " ${CARGO_TARGET_DIR} /out.log"
83
83
fi
84
84
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
-
92
85
if [ " $TARGET " = " s390x-unknown-linux-gnu" ]; then
93
86
# FIXME: s390x-unknown-linux-gnu often fails to test due to timeout,
94
87
# so we retry this N times.
@@ -103,24 +96,24 @@ if [ "$TARGET" = "s390x-unknown-linux-gnu" ]; then
103
96
continue
104
97
fi
105
98
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
107
100
passed=$(( passed+ 1 ))
108
101
continue
109
102
fi
110
103
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
112
105
break
113
106
fi
114
107
fi
115
108
n=$(( n+ 1 ))
116
109
sleep 1
117
110
done
118
111
else
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 \
120
113
--target " ${TARGET} "
121
114
122
- cargo test $opt --manifest-path libc-test/Cargo.toml --target " ${TARGET} "
115
+ cargo test --manifest-path libc-test/Cargo.toml --target " ${TARGET} "
123
116
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 \
125
118
--target " ${TARGET} "
126
119
fi
You can’t perform that action at this time.
0 commit comments