@@ -107,10 +107,10 @@ function run_tests_minimal {
107
107
exit 1
108
108
fi
109
109
110
- ./miri test -- " $@ "
110
+ time ./miri test -- " $@ "
111
111
112
112
# 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 }
114
114
115
115
endgroup
116
116
}
@@ -130,9 +130,16 @@ case $HOST_TARGET in
130
130
MANY_SEEDS=16 MIRI_TEST_TARGET=aarch64-unknown-linux-gnu run_tests
131
131
MANY_SEEDS=16 MIRI_TEST_TARGET=x86_64-apple-darwin run_tests
132
132
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
133
140
# Extra tier 2
134
- MIRI_TEST_TARGET=aarch64-apple-darwin run_tests
135
141
MIRI_TEST_TARGET=arm-unknown-linux-gnueabi run_tests
142
+ MIRI_TEST_TARGET=s390x-unknown-linux-gnu run_tests # big-endian architecture of choice
136
143
# Partially supported targets (tier 2)
137
144
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
138
145
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
143
150
# Custom target JSON file
144
151
MIRI_TEST_TARGET=tests/avr.json MIRI_NO_STD=1 run_tests_minimal no_std
145
152
;;
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
- ;;
155
153
i686-pc-windows-msvc)
156
154
# 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.
158
156
# (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
160
158
# Extra tier 1
161
159
# We really want to ensure a Linux target works on a Windows host,
162
160
# and a 64bit target works on a 32bit host.
0 commit comments