Skip to content

Commit ae0a53a

Browse files
committed
Support // skip-codegen in header of ui tests
(just like how they behaved under previous run-pass semantics)
1 parent ddb1a2a commit ae0a53a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/compiletest/src/runtest.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ impl<'test> TestCx<'test> {
263263

264264
fn should_run_successfully(&self) -> bool {
265265
match self.config.mode {
266-
RunPass => true,
266+
RunPass => !self.props.skip_codegen,
267267
Ui => self.props.run_pass,
268268
_ => unimplemented!(),
269269
}

0 commit comments

Comments
 (0)