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.
1 parent 17064f3 commit 64ac851Copy full SHA for 64ac851
src/bootstrap/src/utils/render_tests.rs
@@ -34,16 +34,17 @@ pub(crate) fn try_run_tests(
34
cmd: &mut BootstrapCommand,
35
stream: bool,
36
) -> bool {
37
- if !run_tests(builder, cmd, stream) {
38
- if builder.fail_fast {
39
- crate::exit!(1);
40
- } else {
41
- builder.config.exec_ctx().add_to_delay_failure(format!("{cmd:?}"));
42
- false
43
- }
44
45
- true
+ if run_tests(builder, cmd, stream) {
+ return true;
46
}
+
+ if builder.fail_fast {
+ crate::exit!(1);
+ }
+ builder.config.exec_ctx().add_to_delay_failure(format!("{cmd:?}"));
47
+ false
48
49
50
fn run_tests(builder: &Builder<'_>, cmd: &mut BootstrapCommand, stream: bool) -> bool {
0 commit comments