Title: [293577] trunk/Tools
Revision
293577
Author
[email protected]
Date
2022-04-28 10:23:49 -0700 (Thu, 28 Apr 2022)

Log Message

[run-_javascript_core-tests] Fix user-facing accounting
https://bugs.webkit.org/show_bug.cgi?id=239845

Reviewed by Adrian Perez de Castro.

Update numJSCStressFlakyButPassed for flaky tests that were declared a
pass. Otherwise we end up miscounting passes as failures in the summary
we print out to the user. E.g. in
https://build.webkit.org/#/builders/31/builds/3567/steps/8/logs/stdio
the test was flaky but passed, yet run-_javascript_core-tests outputs

     1 test flaky and failed.

since it calculates $numJSCStressFlaky - $numJSCStressFlakyButPassed
and $numJSCStressFlakyButPassed is zero (since it wasn't getting
updated).

* Scripts/run-_javascript_core-tests:
(runJSCStressTests):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (293576 => 293577)


--- trunk/Tools/ChangeLog	2022-04-28 16:48:43 UTC (rev 293576)
+++ trunk/Tools/ChangeLog	2022-04-28 17:23:49 UTC (rev 293577)
@@ -1,3 +1,25 @@
+2022-04-28  Angelos Oikonomopoulos  <[email protected]>
+
+        [run-_javascript_core-tests] Fix user-facing accounting
+        https://bugs.webkit.org/show_bug.cgi?id=239845
+
+        Reviewed by Adrian Perez de Castro.
+
+        Update numJSCStressFlakyButPassed for flaky tests that were declared a
+        pass. Otherwise we end up miscounting passes as failures in the summary
+        we print out to the user. E.g. in
+        https://build.webkit.org/#/builders/31/builds/3567/steps/8/logs/stdio
+        the test was flaky but passed, yet run-_javascript_core-tests outputs
+
+             1 test flaky and failed.
+
+        since it calculates $numJSCStressFlaky - $numJSCStressFlakyButPassed
+        and $numJSCStressFlakyButPassed is zero (since it wasn't getting
+        updated).
+
+        * Scripts/run-_javascript_core-tests:
+        (runJSCStressTests):
+
 2022-04-28  Jonathan Bedard  <[email protected]>
 
         [webkitbugspy] Limit number of failed bugzilla login attempts

Modified: trunk/Tools/Scripts/run-_javascript_core-tests (293576 => 293577)


--- trunk/Tools/Scripts/run-_javascript_core-tests	2022-04-28 16:48:43 UTC (rev 293576)
+++ trunk/Tools/Scripts/run-_javascript_core-tests	2022-04-28 17:23:49 UTC (rev 293577)
@@ -977,6 +977,9 @@
             my $numTotal = $fields[2];
             looks_like_number($fields[3]) || die "Malformed line: $testFlaky";
             my $successful = int($fields[3]);
+            if ($successful) {
+                $numJSCStressFlakyButPassed += 1;
+            }
             my $passFail = $successful ? "passed" : "failed";
             print "\t$testName $fields[1]/$fields[2] passes, $passFail\n";
             $jscStressFlakyInfo{$testName} = { 'P' => $numPasses, 'T' => $numTotal, 'S' => $successful };
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to