@@ -107,10 +107,10 @@ function run_tests_minimal {
107107 exit 1
108108 fi
109109
110- ./miri test -- " $@ "
110+ time ./miri test -- " $@ "
111111
112112 # Ensure that a small smoke test of cargo-miri works.
113- cargo miri run --manifest-path test-cargo-miri/no-std-smoke/Cargo.toml --target ${MIRI_TEST_TARGET-$HOST_TARGET }
113+ time cargo miri run --manifest-path test-cargo-miri/no-std-smoke/Cargo.toml --target ${MIRI_TEST_TARGET-$HOST_TARGET }
114114
115115 endgroup
116116}
@@ -130,9 +130,16 @@ case $HOST_TARGET in
130130 MANY_SEEDS=16 MIRI_TEST_TARGET=aarch64-unknown-linux-gnu run_tests
131131 MANY_SEEDS=16 MIRI_TEST_TARGET=x86_64-apple-darwin run_tests
132132 MANY_SEEDS=16 MIRI_TEST_TARGET=x86_64-pc-windows-gnu run_tests
133+ ;;
134+ aarch64-apple-darwin)
135+ # Host (tier 2)
136+ GC_STRESS=1 MIR_OPT=1 MANY_SEEDS=64 TEST_BENCH=1 CARGO_MIRI_ENV=1 run_tests
137+ # Extra tier 1
138+ MANY_SEEDS=64 MIRI_TEST_TARGET=i686-pc-windows-gnu run_tests
139+ MANY_SEEDS=64 MIRI_TEST_TARGET=x86_64-pc-windows-msvc CARGO_MIRI_ENV=1 run_tests
133140 # Extra tier 2
134- MIRI_TEST_TARGET=aarch64-apple-darwin run_tests
135141 MIRI_TEST_TARGET=arm-unknown-linux-gnueabi run_tests
142+ MIRI_TEST_TARGET=s390x-unknown-linux-gnu run_tests # big-endian architecture of choice
136143 # Partially supported targets (tier 2)
137144 MIRI_TEST_TARGET=x86_64-unknown-freebsd run_tests_minimal hello integer vec panic/panic concurrency/simple pthread-threadname libc-getentropy libc-getrandom libc-misc libc-fs atomic env align num_cpus
138145 MIRI_TEST_TARGET=i686-unknown-freebsd run_tests_minimal hello integer vec panic/panic concurrency/simple pthread-threadname libc-getentropy libc-getrandom libc-misc libc-fs atomic env align num_cpus
@@ -143,20 +150,11 @@ case $HOST_TARGET in
143150 # Custom target JSON file
144151 MIRI_TEST_TARGET=tests/avr.json MIRI_NO_STD=1 run_tests_minimal no_std
145152 ;;
146- aarch64-apple-darwin)
147- # Host (tier 2)
148- GC_STRESS=1 MIR_OPT=1 MANY_SEEDS=64 TEST_BENCH=1 CARGO_MIRI_ENV=1 run_tests
149- # Extra tier 1
150- MANY_SEEDS=64 MIRI_TEST_TARGET=i686-pc-windows-gnu run_tests
151- MANY_SEEDS=64 MIRI_TEST_TARGET=x86_64-pc-windows-msvc CARGO_MIRI_ENV=1 run_tests
152- # Extra tier 2
153- MIRI_TEST_TARGET=s390x-unknown-linux-gnu run_tests # big-endian architecture
154- ;;
155153 i686-pc-windows-msvc)
156154 # Host
157- # With reduced many-seeds count as this is the slowest runner already .
155+ # Without GC_STRESS and with reduced many-seeds count as this is the slowest runner.
158156 # (The macOS runner checks windows-msvc with full many-seeds count.)
159- GC_STRESS=1 MIR_OPT=1 MANY_SEEDS=16 TEST_BENCH=1 run_tests
157+ MIR_OPT=1 MANY_SEEDS=16 TEST_BENCH=1 run_tests
160158 # Extra tier 1
161159 # We really want to ensure a Linux target works on a Windows host,
162160 # and a 64bit target works on a 32bit host.
0 commit comments