about summary refs log tree commit diff
diff options
context:
space:
mode:
authormemoryleak47 <memoryleak47@protonmail.ch>2018-04-03 22:22:58 +0200
committermemoryleak47 <memoryleak47@protonmail.ch>2018-04-03 22:22:58 +0200
commitda4bf140576125c322ba7dafcb1f8585931ab812 (patch)
tree156633a0af51c9c525ed2429aa91bc2565b80df3
parentda1febff1eb29172f8f464360d0358ef66414488 (diff)
downloadrust-da4bf140576125c322ba7dafcb1f8585931ab812.tar.gz
rust-da4bf140576125c322ba7dafcb1f8585931ab812.zip
running compiletest with --compare-mode will now run, even if the stamp is up to date
-rw-r--r--src/tools/compiletest/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/compiletest/src/main.rs b/src/tools/compiletest/src/main.rs
index 795ad0c74b7..727d6693396 100644
--- a/src/tools/compiletest/src/main.rs
+++ b/src/tools/compiletest/src/main.rs
@@ -623,7 +623,7 @@ pub fn make_test(config: &Config, testpaths: &TestPaths) -> test::TestDescAndFn
     };
 
     // Debugging emscripten code doesn't make sense today
-    let ignore = early_props.ignore || !up_to_date(config, testpaths, &early_props)
+    let ignore = early_props.ignore || (!up_to_date(config, testpaths, &early_props) && config.compare_mode.is_none())
         || (config.mode == DebugInfoGdb || config.mode == DebugInfoLldb)
             && config.target.contains("emscripten");