@@ -69,7 +69,7 @@ fn compile_fail(path: &str, target: &str, opt: bool) {
69
69
run_tests ( "compile-fail" , path, target, flags) ;
70
70
}
71
71
72
- fn miri_pass ( path : & str , target : & str , opt : bool ) {
72
+ fn miri_pass ( path : & str , target : & str , opt : bool , noseed : bool ) {
73
73
let opt_str = if opt { " with optimizations" } else { "" } ;
74
74
eprintln ! ( "{}" , format!(
75
75
"## Running run-pass tests in {} against miri for target {}{}" ,
@@ -81,7 +81,7 @@ fn miri_pass(path: &str, target: &str, opt: bool) {
81
81
let mut flags = Vec :: new ( ) ;
82
82
if opt {
83
83
flags. push ( "-Zmir-opt-level=3" . to_owned ( ) ) ;
84
- } else {
84
+ } else if !noseed {
85
85
// Run with intptrcast. Avoid test matrix explosion by doing either this or opt-level=3.
86
86
flags. push ( "-Zmiri-seed=" . to_owned ( ) ) ;
87
87
}
@@ -107,7 +107,8 @@ fn get_target() -> String {
107
107
}
108
108
109
109
fn run_pass_miri ( opt : bool ) {
110
- miri_pass ( "tests/run-pass" , & get_target ( ) , opt) ;
110
+ miri_pass ( "tests/run-pass" , & get_target ( ) , opt, false ) ;
111
+ miri_pass ( "tests/run-pass-noseed" , & get_target ( ) , opt, true ) ;
111
112
}
112
113
113
114
fn compile_fail_miri ( opt : bool ) {
0 commit comments