Changeset 182916 in webkit
- Timestamp:
- Apr 16, 2015 3:54:46 PM (9 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r182912 r182916 1 2015-04-16 Alexey Proskuryakov <ap@apple.com> 2 3 It is very hard to attach a debugger to WebProcess to debug tests 4 https://bugs.webkit.org/show_bug.cgi?id=143837 5 6 Reviewed by Chris Dumez. 7 8 --no-timeout used to only affect waitUntilDone timeout, but not IPC timeout in 9 WebKitTestRunner, and not pipe reading timeout in run-webkit-tests. 10 11 Now it disables all timeouts in tools, as is best for debugging tests. 12 13 * Scripts/webkitpy/port/driver.py: (Driver.run_test): Respect --no-timeout, so 14 that the script doesn't terminate DRT/WKTR when there is no output for a long time. 15 16 * WebKitTestRunner/Options.cpp: Removed --no-timeout-at-all, as --no-timeout 17 now has the same functionality. 18 1 19 2015-04-16 Beth Dakin <bdakin@apple.com> 2 20 -
trunk/Tools/Scripts/webkitpy/port/driver.py
r182018 r182916 187 187 # FIXME: It's not the job of the driver to decide what the timeouts should be. 188 188 # Move the additional timeout to driver_input. 189 deadline = test_begin_time + int(driver_input.timeout) / 1000.0 + 5 189 if self._no_timeout: 190 deadline = test_begin_time + 60 * 60 * 24 * 7 # 7 days. Using sys.maxint causes a hang. 191 else: 192 deadline = test_begin_time + int(driver_input.timeout) / 1000.0 + 5 190 193 191 194 self._server_process.write(command) -
trunk/Tools/WebKitTestRunner/Options.cpp
r182017 r182916 46 46 47 47 bool handleOptionNoTimeout(Options& options, const char*, const char*) 48 {49 options.useWaitToDumpWatchdogTimer = false;50 return true;51 }52 53 bool handleOptionNoTimeoutAtAll(Options& options, const char*, const char*)54 48 { 55 49 options.useWaitToDumpWatchdogTimer = false; … … 117 111 : options(o) 118 112 { 119 optionList.append(Option("--no-timeout", "Disables waitUntilDone timeout.", handleOptionNoTimeout)); 120 optionList.append(Option("--no-timeout-at-all", "Disables all timeouts.", handleOptionNoTimeoutAtAll)); 113 optionList.append(Option("--no-timeout", "Disables all timeouts.", handleOptionNoTimeout)); 121 114 optionList.append(Option("--verbose", "Turns on messages.", handleOptionVerbose)); 122 115 optionList.append(Option("--gc-between-tests", "Garbage collection between tests.", handleOptionGcBetweenTests));
Note: See TracChangeset
for help on using the changeset viewer.