We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
// skip-codegen
1 parent 9e33d57 commit 1eb8690Copy full SHA for 1eb8690
1 file changed
src/tools/compiletest/src/runtest.rs
@@ -262,11 +262,12 @@ impl<'test> TestCx<'test> {
262
}
263
264
fn should_run_successfully(&self) -> bool {
265
- match self.config.mode {
266
- RunPass => !self.props.skip_codegen,
+ let run_pass = match self.config.mode {
+ RunPass => true,
267
Ui => self.props.run_pass,
268
_ => unimplemented!(),
269
- }
+ };
270
+ return run_pass && !self.props.skip_codegen;
271
272
273
fn should_compile_successfully(&self) -> bool {
0 commit comments