Make the // skip-codegen
property apply to ui tests too.
This commit is contained in:
parent
9e33d57517
commit
1eb8690cf3
@ -262,11 +262,12 @@ impl<'test> TestCx<'test> {
|
||||
}
|
||||
|
||||
fn should_run_successfully(&self) -> bool {
|
||||
match self.config.mode {
|
||||
RunPass => !self.props.skip_codegen,
|
||||
let run_pass = match self.config.mode {
|
||||
RunPass => true,
|
||||
Ui => self.props.run_pass,
|
||||
_ => unimplemented!(),
|
||||
}
|
||||
};
|
||||
return run_pass && !self.props.skip_codegen;
|
||||
}
|
||||
|
||||
fn should_compile_successfully(&self) -> bool {
|
||||
|
Loading…
x
Reference in New Issue
Block a user