about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Woerister <michaelwoerister@posteo.net>2016-08-11 10:59:35 -0400
committerMichael Woerister <michaelwoerister@posteo.net>2016-08-11 10:59:35 -0400
commit67f19e5e28430773256ee55ab6b315e0130f228f (patch)
treece2f70667ead2a71a8725c0c4e1f99c191f09b93
parent3a70aa530fdce16a2f67ef20bd5e149174ae6e38 (diff)
downloadrust-67f19e5e28430773256ee55ab6b315e0130f228f.tar.gz
rust-67f19e5e28430773256ee55ab6b315e0130f228f.zip
Always add `-Z incremental-info` to incremental compilation tests.
-rw-r--r--src/tools/compiletest/src/runtest.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs
index ae8e82e4e2f..c5413e37228 100644
--- a/src/tools/compiletest/src/runtest.rs
+++ b/src/tools/compiletest/src/runtest.rs
@@ -2012,6 +2012,7 @@ actual:\n\
         // Add an extra flag pointing at the incremental directory.
         let mut revision_props = self.props.clone();
         revision_props.incremental_dir = Some(incremental_dir);
+        revision_props.compile_flags.push(String::from("-Zincremental-info"));
 
         let revision_cx = TestCx {
             config: self.config,