Changeset 123643 in webkit


Ignore:
Timestamp:
Jul 25, 2012 12:10:15 PM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[EFL][WK2] Fix timeout issues when debugging WebProcess.
https://bugs.webkit.org/show_bug.cgi?id=92245

Patch by Christophe Dumez <Christophe Dumez> on 2012-07-25
Reviewed by Dirk Pranke.

Fix timeout issues when debugging the WebProcess
under valgrind or gdb.

  • Scripts/webkitpy/layout_tests/port/efl.py:

(EflPort.default_timeout_ms):

  • WebKitTestRunner/efl/TestControllerEfl.cpp:

(WTR::TestController::platformInitialize):

Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r123642 r123643  
     12012-07-25  Christophe Dumez  <christophe.dumez@intel.com>
     2
     3        [EFL][WK2] Fix timeout issues when debugging WebProcess.
     4        https://bugs.webkit.org/show_bug.cgi?id=92245
     5
     6        Reviewed by Dirk Pranke.
     7
     8        Fix timeout issues when debugging the WebProcess
     9        under valgrind or gdb.
     10
     11        * Scripts/webkitpy/layout_tests/port/efl.py:
     12        (EflPort.default_timeout_ms):
     13        * WebKitTestRunner/efl/TestControllerEfl.cpp:
     14        (WTR::TestController::platformInitialize):
     15
    1162012-07-25  Xianzhu Wang  <wangxianzhu@chromium.org>
    217
  • trunk/Tools/Scripts/webkitpy/layout_tests/port/efl.py

    r122542 r123643  
    6262        return env
    6363
     64    def default_timeout_ms(self):
     65        # Tests run considerably slower under gdb
     66        # or valgrind.
     67        if self.get_option('webprocess_cmd_prefix'):
     68            return 350 * 1000
     69        return super(EflPort, self).default_timeout_ms()
     70
    6471    def clean_up_test_run(self):
    6572        self._restore_pulseaudio_module()
  • trunk/Tools/WebKitTestRunner/efl/TestControllerEfl.cpp

    r122936 r123643  
    5151void TestController::platformInitialize()
    5252{
     53    const char* isDebugging = getenv("WEB_PROCESS_CMD_PREFIX");
     54    if (isDebugging && *isDebugging) {
     55        m_useWaitToDumpWatchdogTimer = false;
     56        m_forceNoTimeout = true;
     57    }
    5358}
    5459
Note: See TracChangeset for help on using the changeset viewer.