Changeset 69770 in webkit


Ignore:
Timestamp:
Oct 14, 2010 9:40:08 AM (14 years ago)
Author:
abarth@webkit.org
Message:

2010-10-14 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

ChromiumXVFBPort.run_webkit_tests_command has infinite recursion
https://bugs.webkit.org/show_bug.cgi?id=47655

  • Scripts/webkitpy/common/config/ports.py:
  • Scripts/webkitpy/common/config/ports_unittest.py:
Location:
trunk/WebKitTools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r69744 r69770  
     12010-10-14  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        ChromiumXVFBPort.run_webkit_tests_command has infinite recursion
     6        https://bugs.webkit.org/show_bug.cgi?id=47655
     7
     8        * Scripts/webkitpy/common/config/ports.py:
     9        * Scripts/webkitpy/common/config/ports_unittest.py:
     10
    1112010-10-13  Eric Seidel  <eric@webkit.org>
    212
  • trunk/WebKitTools/Scripts/webkitpy/common/config/ports.py

    r69738 r69770  
    243243    def run_webkit_tests_command(cls):
    244244        # FIXME: We should find a better way to do this.
    245         return ["xvfb-run"] + cls.run_webkit_tests_command()
     245        return ["xvfb-run"] + ChromiumPort.run_webkit_tests_command()
  • trunk/WebKitTools/Scripts/webkitpy/common/config/ports_unittest.py

    r69736 r69770  
    3030import unittest
    3131
    32 from webkitpy.common.config.ports import WebKitPort, MacPort, GtkPort, QtPort, ChromiumPort
     32from webkitpy.common.config.ports import *
    3333
    3434
     
    7070        self.assertEquals(ChromiumPort.update_webkit_command(), [WebKitPort.script_path("update-webkit"), "--chromium"])
    7171
     72    def test_chromium_xvfb_port(self):
     73        self.assertEquals(ChromiumXVFBPort.run_webkit_tests_command(), ["xvfb-run", "WebKitTools/Scripts/new-run-webkit-tests", "--chromium", "--use-drt", "--no-pixel-tests"])
    7274
    7375if __name__ == '__main__':
Note: See TracChangeset for help on using the changeset viewer.