File tree 1 file changed +5
-6
lines changed
1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -84,16 +84,15 @@ cmd="cargo test --target $target ${LIBC_CI_ZBUILD_STD+"-Zbuild-std"}"
84
84
85
85
# Run tests in the `libc` crate
86
86
case " $target " in
87
+ # Only run `libc-test`
87
88
# FIXME(android): unit tests fail to start on Android
88
89
# FIXME(s390x): unit tests fail to locate glibc
89
- * android* ) ;;
90
- * s390x* ) ;;
91
- * ) $cmd
90
+ * android* ) cmd=" $cmd --manifest-path libc-test/Cargo.toml" ;;
91
+ * s390x* ) cmd=" $cmd --manifest-path libc-test/Cargo.toml" ;;
92
+ # For all other platforms, test everything in the workspace
93
+ * ) cmd=" $cmd --workspace"
92
94
esac
93
95
94
- # Everything else is in `libc-test`
95
- cmd=" $cmd --manifest-path libc-test/Cargo.toml"
96
-
97
96
if [ " $target " = " s390x-unknown-linux-gnu" ]; then
98
97
# FIXME: s390x-unknown-linux-gnu often fails to test due to timeout,
99
98
# so we retry this N times.
You can’t perform that action at this time.
0 commit comments