Changeset 171756 in webkit


Ignore:
Timestamp:
Jul 29, 2014 1:33:53 PM (10 years ago)
Author:
ap@apple.com
Message:

PPT: run-webkit-tests doesn't upload crash logs to bots
https://bugs.webkit.org/show_bug.cgi?id=135391

Reviewed by Joseph Pecoraro.

  • WebKitTestRunner/TestController.cpp: (WTR::TestController::processDidCrash):

Not a fix to be proud of, but better than not having it work at all.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r171742 r171756  
     12014-07-29  Alexey Proskuryakov  <ap@apple.com>
     2
     3        PPT: run-webkit-tests doesn't upload crash logs to bots
     4        https://bugs.webkit.org/show_bug.cgi?id=135391
     5
     6        Reviewed by Joseph Pecoraro.
     7
     8        * WebKitTestRunner/TestController.cpp: (WTR::TestController::processDidCrash):
     9        Not a fix to be proud of, but better than not having it work at all.
     10
    1112014-07-29  Adrian Perez de Castro  <aperez@igalia.com>
    212
  • trunk/Tools/WebKitTestRunner/TestController.cpp

    r171687 r171756  
    12751275#if PLATFORM(COCOA)
    12761276        pid_t pid = WKPageGetProcessIdentifier(m_mainWebView->page());
    1277         fprintf(stderr, "#CRASHED - WebProcess (pid %ld)\n", static_cast<long>(pid));
     1277        // FIXME: Find a way to not hardcode the process name.
     1278#if PLATFORM(IOS)
     1279        const char* processName = "com.apple.WebKit.WebContent";
     1280#elif PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED > 1080
     1281        const char* processName = "com.apple.WebKit.WebContent.Development";
     1282#else
     1283        const char* processName = "WebProcess";
     1284#endif
     1285        fprintf(stderr, "#CRASHED - %s (pid %ld)\n", processName, static_cast<long>(pid));
    12781286#else
    12791287        fputs("#CRASHED - WebProcess\n", stderr);
Note: See TracChangeset for help on using the changeset viewer.