Skip to content

Commit 2b70be3

Browse files
committed
many-seeds tests have become a lot faster thanks to multithreading
1 parent af0c541 commit 2b70be3

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

ci/ci.sh

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -142,12 +142,10 @@ case $HOST_TARGET in
142142
# Host
143143
GC_STRESS=1 MIR_OPT=1 MANY_SEEDS=64 TEST_BENCH=1 CARGO_MIRI_ENV=1 run_tests
144144
# Extra tier 1
145-
# With reduced many-seed count to avoid spending too much time on that.
146-
# (All OSes and ABIs are run with 64 seeds at least once though via the macOS runner.)
147-
MANY_SEEDS=16 TEST_TARGET=i686-unknown-linux-gnu run_tests
148-
MANY_SEEDS=16 TEST_TARGET=aarch64-unknown-linux-gnu run_tests
149-
MANY_SEEDS=16 TEST_TARGET=x86_64-apple-darwin run_tests
150-
MANY_SEEDS=16 TEST_TARGET=x86_64-pc-windows-gnu run_tests
145+
MANY_SEEDS=64 TEST_TARGET=i686-unknown-linux-gnu run_tests
146+
MANY_SEEDS=64 TEST_TARGET=aarch64-unknown-linux-gnu run_tests
147+
MANY_SEEDS=64 TEST_TARGET=x86_64-apple-darwin run_tests
148+
MANY_SEEDS=64 TEST_TARGET=x86_64-pc-windows-gnu run_tests
151149
;;
152150
aarch64-apple-darwin)
153151
# Host
@@ -178,7 +176,7 @@ case $HOST_TARGET in
178176
# Host
179177
# Without GC_STRESS and with reduced many-seeds count as this is the slowest runner.
180178
# (The macOS runner checks windows-msvc with full many-seeds count.)
181-
MIR_OPT=1 MANY_SEEDS=16 TEST_BENCH=1 run_tests
179+
MIR_OPT=1 MANY_SEEDS=64 TEST_BENCH=1 run_tests
182180
# Extra tier 1
183181
# We really want to ensure a Linux target works on a Windows host,
184182
# and a 64bit target works on a 32bit host.

0 commit comments

Comments
 (0)