File tree 2 files changed +5
-42
lines changed 2 files changed +5
-42
lines changed Original file line number Diff line number Diff line change 19
19
rustup set profile minimal
20
20
rustup update --force $toolchain
21
21
rustup default $toolchain
22
+ cargo install rustup-toolchain-install-master
23
+ rustup-toolchain-install-master f1b97ee7f8ffb1a814944b85c7e05a1555a7eda5
24
+ rustup default f1b97ee7f8ffb1a814944b85c7e05a1555a7eda5
22
25
fi
23
26
24
27
if [ -n " $TARGET " ]; then
Original file line number Diff line number Diff line change @@ -82,45 +82,5 @@ 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
- if [ " $TARGET " = " s390x-unknown-linux-gnu" ]; then
93
- # FIXME: s390x-unknown-linux-gnu often fails to test due to timeout,
94
- # so we retry this N times.
95
- N=5
96
- n=0
97
- passed=0
98
- until [ $n -ge $N ]
99
- do
100
- if [ " $passed " = " 0" ]; then
101
- if cargo test --no-default-features --manifest-path libc-test/Cargo.toml --target " ${TARGET} " ; then
102
- passed=$(( passed+ 1 ))
103
- continue
104
- fi
105
- elif [ " $passed " = " 1" ]; then
106
- if cargo test $opt --manifest-path libc-test/Cargo.toml --target " ${TARGET} " ; then
107
- passed=$(( passed+ 1 ))
108
- continue
109
- fi
110
- elif [ " $passed " = " 2" ]; then
111
- if cargo test $opt --features extra_traits --manifest-path libc-test/Cargo.toml --target " ${TARGET} " ; then
112
- break
113
- fi
114
- fi
115
- n=$(( n+ 1 ))
116
- sleep 1
117
- done
118
- else
119
- cargo test $opt --no-default-features --manifest-path libc-test/Cargo.toml \
120
- --target " ${TARGET} "
121
-
122
- cargo test $opt --manifest-path libc-test/Cargo.toml --target " ${TARGET} "
123
-
124
- cargo test $opt --features extra_traits --manifest-path libc-test/Cargo.toml \
125
- --target " ${TARGET} "
126
- fi
85
+ cargo test $opt --features extra_traits --manifest-path libc-test/Cargo.toml \
86
+ --target " ${TARGET} "
You can’t perform that action at this time.
0 commit comments