Skip to content
Permalink
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):

Canonical link: https://commits.webkit.org/68665@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78685 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
webkit-commit-queue committed Feb 16, 2011
1 parent 0b9c794 commit 67b5b9aca9259df30e2dd6daa0ab8b6c6e94e87c
Showing 2 changed files with 12 additions and 2 deletions.
@@ -1,3 +1,13 @@
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]);

0 comments on commit 67b5b9a

Please sign in to comment.