@@ -50,39 +50,26 @@ alloc)
50
50
done
51
51
;;
52
52
std)
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.
54
54
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::"
58
55
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
+ # rustc itself tests i686-pc-windows-msvc so we test the other.
59
+ for TARGET in x86_64-unknown-linux-gnu mips-unknown-linux-gnu aarch64-apple-darwin i686-pc-windows-gnu x86_64-pc-windows-msvc; do
60
+ echo " ::group::Testing std ($TARGET )"
61
61
MIRIFLAGS=" $DEFAULTFLAGS -Zmiri-disable-isolation" \
62
62
./run-test.sh std --target $TARGET --lib --tests \
63
- -- $CORE \
63
+ -- $( for M in $SKIP ; do echo " --skip $M " ; done ) \
64
64
2>&1 | ts -i ' %.s '
65
65
echo " ::endgroup::"
66
- echo " ::group::Testing std core docs ($CORE on $TARGET , ignore leaks)"
66
+ echo " ::group::Testing std docs ($TARGET , ignore leaks)"
67
67
MIRIFLAGS=" $DEFAULTFLAGS -Zmiri-ignore-leaks -Zmiri-disable-isolation" \
68
68
./run-test.sh std --target $TARGET --doc \
69
- -- $CORE \
69
+ -- $( for M in $SKIP ; do echo " --skip $M " ; done ) \
70
70
2>&1 | ts -i ' %.s '
71
71
echo " ::endgroup::"
72
72
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::"
86
73
;;
87
74
simd)
88
75
export CARGO_TARGET_DIR=$( pwd) /target
0 commit comments