@@ -50,39 +50,26 @@ alloc)
5050 done
5151 ;;
5252std)
53- # Modules that we skip entirely, because they need a lot of shims we don't support.
53+ # Modules that we skip because they need a lot of shims we don't support.
5454 SKIP=" fs:: net:: process:: sys::pal::"
55- # Core modules, that we are testing on a bunch of targets.
56- # These are the most OS-specific (among the modules we do not skip).
57- CORE=" time:: sync:: thread:: env::"
5855
59- for TARGET in x86_64-unknown-linux-gnu aarch64-apple-darwin x86_64-pc-windows-msvc i686-pc-windows-gnu; do
60- echo " ::group::Testing std core ($CORE on $TARGET )"
56+ # A 64bit little-endian and a 32bit big-endian target,
57+ # as well as targets covering all major OSes and both ABIs on Windows.
58+ # i686-pc-windows-msvc is special as it does not have `cfg(target_thread_local)`.
59+ for TARGET in x86_64-unknown-linux-gnu mips-unknown-linux-gnu aarch64-apple-darwin i686-pc-windows-msvc x86_64-pc-windows-gnu; do
60+ echo " ::group::Testing std ($TARGET )"
6161 MIRIFLAGS=" $DEFAULTFLAGS -Zmiri-disable-isolation" \
6262 ./run-test.sh std --target $TARGET --lib --tests \
63- -- $CORE \
63+ -- $( for M in $SKIP ; do echo " --skip $M " ; done ) \
6464 2>&1 | ts -i ' %.s '
6565 echo " ::endgroup::"
66- echo " ::group::Testing std core docs ($CORE on $TARGET , ignore leaks)"
66+ echo " ::group::Testing std docs ($TARGET , ignore leaks)"
6767 MIRIFLAGS=" $DEFAULTFLAGS -Zmiri-ignore-leaks -Zmiri-disable-isolation" \
6868 ./run-test.sh std --target $TARGET --doc \
69- -- $CORE \
69+ -- $( for M in $SKIP ; do echo " --skip $M " ; done ) \
7070 2>&1 | ts -i ' %.s '
7171 echo " ::endgroup::"
7272 done
73- # Test the remaining modules only on Linux.
74- echo " ::group::Testing remaining std (all except for $SKIP , ignore leaks)"
75- MIRIFLAGS=" $DEFAULTFLAGS -Zmiri-disable-isolation" \
76- ./run-test.sh std --lib --tests \
77- -- $( for M in $CORE ; do echo " --skip $M " ; done) $( for M in $SKIP ; do echo " --skip $M " ; done) \
78- 2>&1 | ts -i ' %.s '
79- echo " ::endgroup::"
80- echo " ::group::Testing remaining std docs (all except for $SKIP , ignore leaks)"
81- MIRIFLAGS=" $DEFAULTFLAGS -Zmiri-ignore-leaks -Zmiri-disable-isolation" \
82- ./run-test.sh std --doc \
83- -- $( for M in $CORE ; do echo " --skip $M " ; done) $( for M in $SKIP ; do echo " --skip $M " ; done) \
84- 2>&1 | ts -i ' %.s '
85- echo " ::endgroup::"
8673 ;;
8774simd)
8875 export CARGO_TARGET_DIR=$( pwd) /target
0 commit comments