2007-03-26 Mark Rowe <mrowe@apple.com>
authorbdash <bdash@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 25 Mar 2007 15:10:10 +0000 (15:10 +0000)
committerbdash <bdash@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 25 Mar 2007 15:10:10 +0000 (15:10 +0000)
        Reviewed by Sam Weinig.

        Upload crash logs from DumpRenderTree as part of the test results to ease debugging
        of hard-to-reproduce crashes.

        * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@20489 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKitTools/BuildSlaveSupport/build.webkit.org-config/webkit/steps.py
WebKitTools/ChangeLog

index 77a2ae5..734c4e1 100644 (file)
@@ -142,7 +142,17 @@ class UploadLayoutResults(UploadCommand, ShellCommand):
     def __init__(self, *args, **kwargs):
         UploadCommand.__init__(self, *args, **kwargs)
         
-        self.command = 'if [[ -d layout-test-results ]]; then find layout-test-results -type d -print0 | xargs -0 chmod ug+rx; find layout-test-results -type f -print0 | xargs -0 chmod ug+r;  rsync -rlvzP --rsync-path="/home/buildresults/bin/rsync" layout-test-results/ %s && rm -rf layout-test-results; fi' % (self.getRemotePath(), )
+        self.command = '''\
+        if [[ -d layout-test-results ]]; then \
+            find layout-test-results -type d -print0 | xargs -0 chmod ug+rx; \
+            find layout-test-results -type f -print0 | xargs -0 chmod ug+r; \
+            rsync -rlvzP --rsync-path="/home/buildresults/bin/rsync" layout-test-results/ %s && rm -rf layout-test-results; \
+        fi; \
+        CRASH_LOG=~/Library/Logs/CrashReporter/DumpRenderTree*.crash*; \
+        if [[ -f $(ls -1 $CRASH_LOG | head -n 1 ) ]]; then \
+            chmod ug+r $CRASH_LOG; \
+            rsync -rlvzP --rsync-path="/home/buildresults/bin/rsync" $CRASH_LOG %s && rm -rf $CRASH_LOG; \
+        fi;''' % (self.getRemotePath(), self.getRemotePath())
 
         ShellCommand.__init__(self, *args, **kwargs)
 
index 83a9d8f..536f55e 100644 (file)
@@ -1,3 +1,12 @@
+2007-03-26  Mark Rowe  <mrowe@apple.com>
+
+        Reviewed by Sam Weinig.
+
+        Upload crash logs from DumpRenderTree as part of the test results to ease debugging
+        of hard-to-reproduce crashes.
+
+        * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
+
 2007-03-23  George Staikos  <staikos@kde.org>
 
         Reviewed and committed by George.