Commit a1042bf0 authored by commit-queue@webkit.org's avatar commit-queue@webkit.org
Browse files

2011-02-15 Xianzhu Wang <wangxianzhu@google.com>

        Reviewed by Kent Tamura.

        Fixed a small bug about --no-timeout option.
        https://bugs.webkit.org/show_bug.cgi?id=52873

        * DumpRenderTree/chromium/DumpRenderTree.cpp:
        (main):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@78685 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent e2b6492d
2011-02-15 Xianzhu Wang <wangxianzhu@google.com>
Reviewed by Kent Tamura.
Fixed a small bug about --no-timeout option.
https://bugs.webkit.org/show_bug.cgi?id=52873
* DumpRenderTree/chromium/DumpRenderTree.cpp:
(main):
2011-02-15 Kenneth Russell <kbr@google.com>
 
Reviewed by Darin Fisher.
......@@ -58,7 +58,7 @@ static const char optionEnableAccelerated2DCanvas[] = "--enable-accelerated-2d-c
static const char optionStressOpt[] = "--stress-opt";
static const char optionStressDeopt[] = "--stress-deopt";
static const char optionJavaScriptFlags[] = "--js-flags=";
static const char optionNoTimeout[] = "--no-timeout=";
static const char optionNoTimeout[] = "--no-timeout";
static void runTest(TestShell& shell, TestParams& params, const string& testName, bool testShellMode)
{
......@@ -157,7 +157,7 @@ int main(int argc, char* argv[])
stressDeopt = true;
else if (!argument.find(optionJavaScriptFlags))
javaScriptFlags = argument.substr(strlen(optionJavaScriptFlags));
else if (!argument.find(optionNoTimeout))
else if (argument == optionNoTimeout)
noTimeout = true;
else if (argument.size() && argument[0] == '-')
fprintf(stderr, "Unknown option: %s\n", argv[i]);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment