Skip to content

Commit a8fd61b

Browse files
committed
Auto merge of #3432 - RalfJung:gc-stress, r=RalfJung
run GC stress test only for host tests I suspect these are a significant contributor to our Linux CI job being by far the slowest currently. Let's see. We have Linux, Windows, and macOS hosts so all major OSes are still covered.
2 parents f04352a + 7f6d89d commit a8fd61b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/tools/miri/ci/ci.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ function run_tests {
4646
fi
4747

4848
## ui test suite
49-
# On the host and on Linux, also stress-test the GC.
50-
if [ -z "${MIRI_TEST_TARGET:-}" ] || [ "$HOST_TARGET" = x86_64-unknown-linux-gnu ]; then
49+
# On the host, also stress-test the GC.
50+
if [ -z "${MIRI_TEST_TARGET:-}" ]; then
5151
MIRIFLAGS="${MIRIFLAGS:-} -Zmiri-provenance-gc=1" ./miri test
5252
else
5353
./miri test
@@ -130,6 +130,8 @@ case $HOST_TARGET in
130130
MIRI_TEST_TARGET=aarch64-unknown-linux-gnu run_tests
131131
MIRI_TEST_TARGET=aarch64-apple-darwin run_tests
132132
MIRI_TEST_TARGET=i686-pc-windows-gnu run_tests
133+
MIRI_TEST_TARGET=x86_64-pc-windows-gnu run_tests
134+
MIRI_TEST_TARGET=arm-unknown-linux-gnueabi run_tests
133135
# Some targets are only partially supported.
134136
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
135137
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
@@ -145,9 +147,7 @@ case $HOST_TARGET in
145147
MIRI_TEST_TARGET=x86_64-pc-windows-msvc run_tests
146148
;;
147149
i686-pc-windows-msvc)
148-
MIRI_TEST_TARGET=arm-unknown-linux-gnueabi run_tests
149150
MIRI_TEST_TARGET=x86_64-unknown-linux-gnu run_tests
150-
MIRI_TEST_TARGET=x86_64-pc-windows-gnu run_tests
151151
;;
152152
*)
153153
echo "FATAL: unknown OS"

0 commit comments

Comments
 (0)