From ae0a53a39b29ed0fb138b05ef8015702b91d8b00 Mon Sep 17 00:00:00 2001 From: "Felix S. Klock II" Date: Fri, 14 Sep 2018 12:17:30 +0200 Subject: Support `// skip-codegen` in header of ui tests (just like how they behaved under previous run-pass semantics) --- src/tools/compiletest/src/runtest.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tools/compiletest') diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs index 3c18f9bd7c3..1d06f116dec 100644 --- a/src/tools/compiletest/src/runtest.rs +++ b/src/tools/compiletest/src/runtest.rs @@ -263,7 +263,7 @@ impl<'test> TestCx<'test> { fn should_run_successfully(&self) -> bool { match self.config.mode { - RunPass => true, + RunPass => !self.props.skip_codegen, Ui => self.props.run_pass, _ => unimplemented!(), } -- cgit 1.4.1-3-g733a5