File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
src/tools/compiletest/src Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -626,7 +626,7 @@ pub fn make_test(config: &Config, testpaths: &TestPaths) -> test::TestDescAndFn
626626
627627 // Debugging emscripten code doesn't make sense today
628628 let ignore = early_props. ignore
629- || ( !up_to_date ( config, testpaths, & early_props) && config . compare_mode . is_none ( ) )
629+ || !up_to_date ( config, testpaths, & early_props)
630630 || ( config. mode == DebugInfoGdb || config. mode == DebugInfoLldb )
631631 && config. target . contains ( "emscripten" ) ;
632632
@@ -642,10 +642,15 @@ pub fn make_test(config: &Config, testpaths: &TestPaths) -> test::TestDescAndFn
642642}
643643
644644fn stamp ( config : & Config , testpaths : & TestPaths ) -> PathBuf {
645+ let mode_suffix = match config. compare_mode {
646+ Some ( ref mode) => format ! ( "-{}" , mode. to_str( ) ) ,
647+ None => format ! ( "" ) ,
648+ } ;
645649 let stamp_name = format ! (
646- "{}-{}.stamp" ,
650+ "{}-{}{} .stamp" ,
647651 testpaths. file. file_name( ) . unwrap( ) . to_str( ) . unwrap( ) ,
648- config. stage_id
652+ config. stage_id,
653+ mode_suffix
649654 ) ;
650655 config
651656 . build_base
You can’t perform that action at this time.
0 commit comments