Changeset 76704 in webkit
- Timestamp:
- Jan 26, 2011 11:53:52 AM (13 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r76694 r76704 1 2011-01-26 Xianzhu Wang <wangxianzhu@google.com> 2 3 Reviewed by Tony Chang. 4 5 Add '--no-timeout' option to Chromium DRT to ease debugging. 6 https://bugs.webkit.org/show_bug.cgi?id=52873 7 8 * DumpRenderTree/chromium/DumpRenderTree.cpp: 9 (main): 10 1 11 2011-01-26 Csaba Osztrogonác <ossy@webkit.org> 2 12 -
trunk/Tools/DumpRenderTree/chromium/DumpRenderTree.cpp
r75800 r76704 59 59 static const char optionStressDeopt[] = "--stress-deopt"; 60 60 static const char optionJavaScriptFlags[] = "--js-flags="; 61 static const char optionNoTimeout[] = "--no-timeout="; 61 62 62 63 static void runTest(TestShell& shell, TestParams& params, const string& testName, bool testShellMode) … … 124 125 bool hardwareAcceleratedGL = false; 125 126 string javaScriptFlags; 127 bool noTimeout = false; 126 128 for (int i = 1; i < argc; ++i) { 127 129 string argument(argv[i]); … … 156 158 else if (!argument.find(optionJavaScriptFlags)) 157 159 javaScriptFlags = argument.substr(strlen(optionJavaScriptFlags)); 160 else if (!argument.find(optionNoTimeout)) 161 noTimeout = true; 158 162 else if (argument.size() && argument[0] == '-') 159 163 fprintf(stderr, "Unknown option: %s\n", argv[i]); … … 183 187 shell.setStressOpt(stressOpt); 184 188 shell.setStressDeopt(stressDeopt); 189 if (noTimeout) { 190 // 0x20000000ms is big enough for the purpose to avoid timeout in debugging. 191 shell.setLayoutTestTimeout(0x20000000); 192 } 185 193 if (serverMode && !tests.size()) { 186 194 params.printSeparators = true;
Note: See TracChangeset
for help on using the changeset viewer.