Skip to content

Commit 8697978

Browse files
committed
try to fix many-seeds tests on Windows
1 parent dfd240c commit 8697978

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ci/ci.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,9 @@ function run_tests {
5858
MIRIFLAGS="${MIRIFLAGS:-} -O -Zmir-opt-level=4 -Cdebug-assertions=yes" MIRI_SKIP_UI_CHECKS=1 ./miri test -- tests/{pass,panic}
5959

6060
# Also run some many-seeds tests. 64 seeds means this takes around a minute per test.
61+
# (Need to invoke via explicit `bash` for Windows.)
6162
for FILE in tests/many-seeds/*.rs; do
62-
MIRI_SEEDS=64 ./miri many-seeds ./miri run "$FILE"
63+
MIRI_SEEDS=64 ./miri many-seeds "$BASH" -c ./miri run "$FILE"
6364
done
6465

6566
# Check that the benchmarks build and run, but without actually benchmarking.

0 commit comments

Comments
 (0)