diff --git a/contrib/cirrus/logformatter b/contrib/cirrus/logformatter index d0f86b2787..5c888038bd 100755 --- a/contrib/cirrus/logformatter +++ b/contrib/cirrus/logformatter @@ -563,6 +563,7 @@ END_HTML print { $out_fh } "\n"; } $after_divider = 1; + $subtest_status = 'passed'; # until proven otherwise print { $out_fh } "\n
\n
\n";
             # Always show timestamp at start of each new test
@@ -614,7 +615,6 @@ END_HTML
 
             # Make FAILED and SKIPPING visible. (Only works with ginkgo -p;
             # without -p, status is at the bottom of the test block)
-            $subtest_status = 'passed';
             if ($line =~ s!^(.*\[(SKIPPED|FAILED|FLAKEY).*\].*)!$1!) {
                 $subtest_status = lc($2);
             }