Changeset 80152 in webkit


Ignore:
Timestamp:
Mar 2, 2011 11:45:35 AM (13 years ago)
Author:
Adam Roben
Message:

Don't try to capture crash logs on platforms that haven't implemented that feature

Fixes <http://webkit.org/b/55504> Use of uninitialized value in numeric lt (<) at
Tools/Scripts/old-run-webkit-tests line 1778 seen on Qt bots after a crash

Reviewed by Joseph Pecoraro.

  • Scripts/old-run-webkit-tests:

(captureSavedCrashLog): Bail if we don't have a crash log glob.
(findNewestFileMatchingGlob): Fix a buggy test for when no paths match the glob. This isn't
strictly required to fix bug 55504, but seems worthwhile.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r80139 r80152  
     12011-03-02  Adam Roben  <aroben@apple.com>
     2
     3        Don't try to capture crash logs on platforms that haven't implemented that feature
     4
     5        Fixes <http://webkit.org/b/55504> Use of uninitialized value in numeric lt (<) at
     6        Tools/Scripts/old-run-webkit-tests line 1778 seen on Qt bots after a crash
     7
     8        Reviewed by Joseph Pecoraro.
     9
     10        * Scripts/old-run-webkit-tests:
     11        (captureSavedCrashLog): Bail if we don't have a crash log glob.
     12        (findNewestFileMatchingGlob): Fix a buggy test for when no paths match the glob. This isn't
     13        strictly required to fix bug 55504, but seems worthwhile.
     14
    1152011-01-26  John Knottenbelt  <jknotten@chromium.org>
    216
  • trunk/Tools/Scripts/old-run-webkit-tests

    r80019 r80152  
    17731773    }
    17741774
     1775    return unless $glob;
     1776
    17751777    # We assume that the newest crash log in matching the glob is the one that corresponds to the crash that just occurred.
    17761778    if (my $newestCrashLog = findNewestFileMatchingGlob($glob)) {
     
    17891791
    17901792    my @paths = glob $glob;
    1791     return unless @paths;
     1793    return unless scalar(@paths);
    17921794
    17931795    my @pathsAndTimes = map { [$_, -M $_] } @paths;
Note: See TracChangeset for help on using the changeset viewer.