File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -42,8 +42,12 @@ function run_tests {
4242 # Only for host architecture: tests with optimizations (`-O` is what cargo passes, but crank MIR
4343 # optimizations up all the way).
4444 # Optimizations change diagnostics (mostly backtraces), so we don't check them
45- # FIXME(#2155): we want to only run the pass and panic tests here, not the fail tests.
4645 MIRIFLAGS=" ${MIRIFLAGS:- } -O -Zmir-opt-level=4" MIRI_SKIP_UI_CHECKS=1 ./miri test -- tests/{pass,panic}
46+
47+ # Also run some many-seeds tests. 64 seeds means this takes around a minute per test.
48+ for TEST in tests/many-seeds/* .rs; do
49+ MIRI_SEEDS=64 CARGO_EXTRA_FLAGS=" $CARGO_EXTRA_FLAGS -q" ./miri many-seeds ./miri run " $FILE "
50+ done
4751 fi
4852
4953 # # test-cargo-miri
Original file line number Diff line number Diff line change 1+ //! Regression test for https://github.com/rust-lang/miri/issues/2629
2+ use std:: thread;
3+
4+ fn main ( ) {
5+ thread:: scope ( |s| {
6+ s. spawn ( || { } ) ;
7+ } ) ;
8+ }
You can’t perform that action at this time.
0 commit comments