Changeset 80161 in webkit
- Timestamp:
- Mar 2, 2011 1:33:47 PM (13 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r80152 r80161 1 2011-03-02 Adam Roben <aroben@apple.com> 2 3 Look in the new-to-SnowLeopard location for crash logs on SnowLeopard and newer 4 5 ReportCrash saves logs to ~/Library/Logs/CrashReporter on Leopard, but to 6 ~/Library/Logs/DiagnosticReports on SnowLeopard. old-run-webkit-tests was only looking in 7 the former location, but was getting lucky on some SnowLeopard machines because symlinks 8 were being created there pointing into DiagnosticReports. For machines without these 9 symlinks, crash logs were not getting captured. 10 11 Fixes <http://webkit.org/b/55607> old-run-webkit-tests doesn't capture crash logs on some 12 SnowLeopard machines 13 14 Reviewed by Eric Seidel. 15 16 * Scripts/old-run-webkit-tests: 17 (captureSavedCrashLog): Look in ~/Library/Logs/DiagnosticReports on SnowLeopard and newer. 18 1 19 2011-03-02 Adam Roben <aroben@apple.com> 2 20 -
trunk/Tools/Scripts/old-run-webkit-tests
r80152 r80161 1761 1761 $glob = File::Spec->catfile($testResultsDirectory, $windowsCrashLogFilePrefix . "*.txt"); 1762 1762 } elsif (isAppleMacWebKit()) { 1763 $glob = File::Spec->catfile("~", "Library", "Logs", "CrashReporter", ($webProcessCrashed ? "WebProcess" : $dumpToolName) . "_*.crash"); 1763 my $crashLogDirectoryName; 1764 if (isTiger() || isLeopard()) { 1765 $crashLogDirectoryName = "CrashReporter"; 1766 } else { 1767 $crashLogDirectoryName = "DiagnosticReports"; 1768 } 1769 1770 $glob = File::Spec->catfile("~", "Library", "Logs", $crashLogDirectoryName, ($webProcessCrashed ? "WebProcess" : $dumpToolName) . "_*.crash"); 1764 1771 1765 1772 # Even though the dump tool has exited, CrashReporter might still be running. We need to
Note: See TracChangeset
for help on using the changeset viewer.