Changeset 93751 in webkit


Ignore:
Timestamp:
Aug 24, 2011 6:02:02 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

[chromium] Stacktrace not in test output when a test crashes
https://bugs.webkit.org/show_bug.cgi?id=66806

Patch by James Robinson <jamesr@chromium.org> on 2011-08-24
Reviewed by Dirk Pranke.

Appends the .error and .text output when a test crashes since on chromium the .text contains the actual stack
trace.

  • Scripts/webkitpy/layout_tests/port/chromium.py:
Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r93741 r93751  
     12011-08-24  James Robinson  <jamesr@chromium.org>
     2
     3        [chromium] Stacktrace not in test output when a test crashes
     4        https://bugs.webkit.org/show_bug.cgi?id=66806
     5
     6        Reviewed by Dirk Pranke.
     7
     8        Appends the .error and .text output when a test crashes since on chromium the .text contains the actual stack
     9        trace.
     10
     11        * Scripts/webkitpy/layout_tests/port/chromium.py:
     12
    1132011-08-24  Adam Barth  <abarth@webkit.org>
    214
  • trunk/Tools/Scripts/webkitpy/layout_tests/port/chromium.py

    r93545 r93751  
    577577                text = None
    578578
     579        error = ''.join(error)
     580        # Currently the stacktrace is in the text output, not error, so append the two together so
     581        # that we can see stack in the output. See http://webkit.org/b/66806
     582        # FIXME: We really should properly handle the stderr output separately.
     583        if crash:
     584            error = error + str(text)
     585
    579586        return DriverOutput(text, output_image, actual_checksum, audio=audio_bytes,
    580             crash=crash, test_time=run_time, timeout=timeout, error=''.join(error))
     587            crash=crash, test_time=run_time, timeout=timeout, error=error)
    581588
    582589    def stop(self):
Note: See TracChangeset for help on using the changeset viewer.