[Webkit-unassigned] [Bug 179816] New: Exception in run-gtk-tests with incorrect command-line argument

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 17 05:11:57 PST 2017


https://bugs.webkit.org/show_bug.cgi?id=179816

            Bug ID: 179816
           Summary: Exception in run-gtk-tests with incorrect command-line
                    argument
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: Ms2ger at igalia.com
                CC: lforschler at apple.com

Tools/Scripts/run-gtk-tests Foo
Traceback (most recent call last):
  File "Tools/Scripts/run-gtk-tests", line 537, in <module>
    sys.exit(runner.run_tests())
  File "Tools/Scripts/run-gtk-tests", line 470, in run_tests
    for test_case, result in results.iteritems():
AttributeError: 'int' object has no attribute 'iteritems'

because of the final line of

    def _run_test(self, test_program):
        basedir = os.path.basename(os.path.dirname(test_program))
        if basedir in ["WebKit2Gtk", "WebKitGtk"]:
            return self._run_test_glib(test_program)

        if basedir in ["WebKit", "JavaScriptCore", "WTF", "WebCore",  "WebCoreGtk"]:
            return self._run_google_test_suite(test_program)

        return 1

which otherwise returns a dict.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20171117/e2f53511/attachment.html>


More information about the webkit-unassigned mailing list