From 93077f3f3922817a70013c403831bf1db4a30114 Mon Sep 17 00:00:00 2001 From: Mazdak Farrokhzad Date: Wed, 26 Jun 2019 14:32:23 +0200 Subject: [PATCH] Hash force_pass_mode when config.mode == Pretty. --- src/tools/compiletest/src/runtest.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs index cb58663242669..35caf82dd7128 100644 --- a/src/tools/compiletest/src/runtest.rs +++ b/src/tools/compiletest/src/runtest.rs @@ -260,7 +260,7 @@ pub fn compute_stamp_hash(config: &Config) -> String { env::var_os("PYTHONPATH").hash(&mut hash); } - if let Ui | RunPass | Incremental = config.mode { + if let Ui | RunPass | Incremental | Pretty = config.mode { config.force_pass_mode.hash(&mut hash); }