Changeset 80019 in webkit


Ignore:
Timestamp:
Mar 1, 2011 12:02:51 PM (13 years ago)
Author:
Adam Roben
Message:

Count web process crashes toward the --exit-after-n-crashes-or-timeouts limit

Fixes <http://webkit.org/b/55492> Web process crashes aren't counted toward the
--exit-after-n-crashes-or-timeouts limit

Reviewed by David Kilzer.

  • Scripts/old-run-webkit-tests:

(stopRunningTestsEarlyIfNeeded): Include web process crashes in the computation, and print
the number of tests that caused the web process to crash when exiting early.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r80009 r80019  
     12011-03-01  Adam Roben  <aroben@apple.com>
     2
     3        Count web process crashes toward the --exit-after-n-crashes-or-timeouts limit
     4
     5        Fixes <http://webkit.org/b/55492> Web process crashes aren't counted toward the
     6        --exit-after-n-crashes-or-timeouts limit
     7
     8        Reviewed by David Kilzer.
     9
     10        * Scripts/old-run-webkit-tests:
     11        (stopRunningTestsEarlyIfNeeded): Include web process crashes in the computation, and print
     12        the number of tests that caused the web process to crash when exiting early.
     13
    1142011-03-01  Adam Roben  <aroben@apple.com>
    215
  • trunk/Tools/Scripts/old-run-webkit-tests

    r80009 r80019  
    25632563
    25642564    my $crashCount = $counts{crash} || 0;
     2565    my $webProcessCrashCount = $counts{webProcessCrash} || 0;
    25652566    my $timeoutCount = $counts{timedout} || 0;
    2566     if ($exitAfterNCrashesOrTimeouts && $crashCount + $timeoutCount >= $exitAfterNCrashesOrTimeouts) {
    2567         print "\nExiting early after $crashCount crashes and $timeoutCount timeouts. $count tests run.";
     2567    if ($exitAfterNCrashesOrTimeouts && $crashCount + $webProcessCrashCount + $timeoutCount >= $exitAfterNCrashesOrTimeouts) {
     2568        print "\nExiting early after $crashCount crashes, $webProcessCrashCount web process crashes, and $timeoutCount timeouts. $count tests run.";
    25682569        closeDumpTool();
    25692570        return 1;
Note: See TracChangeset for help on using the changeset viewer.