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
626
626
627
627
// Debugging emscripten code doesn't make sense today
628
628
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)
630
630
|| ( config. mode == DebugInfoGdb || config. mode == DebugInfoLldb )
631
631
&& config. target . contains ( "emscripten" ) ;
632
632
@@ -642,10 +642,15 @@ pub fn make_test(config: &Config, testpaths: &TestPaths) -> test::TestDescAndFn
642
642
}
643
643
644
644
fn 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
+ } ;
645
649
let stamp_name = format ! (
646
- "{}-{}.stamp" ,
650
+ "{}-{}{} .stamp" ,
647
651
testpaths. file. file_name( ) . unwrap( ) . to_str( ) . unwrap( ) ,
648
- config. stage_id
652
+ config. stage_id,
653
+ mode_suffix
649
654
) ;
650
655
config
651
656
. build_base
You can’t perform that action at this time.
0 commit comments