Add Mac WK2 EWS bots
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 10 Jan 2013 21:27:54 +0000 (21:27 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 10 Jan 2013 21:27:54 +0000 (21:27 +0000)
https://bugs.webkit.org/show_bug.cgi?id=106590

Reviewed by Adam Barth.

Added MacWK2EWS, and made myself a watcher for MacEWS and MacWK2EWS.
Also add a deprecated MacWK2Port class.

* QueueStatusServer/model/queues.py:
(Queue):
* Scripts/webkitpy/common/config/ports.py:
(DeprecatedPort.port):
(MacWK2Port):
(MacWK2Port.run_webkit_tests_command):
* Scripts/webkitpy/tool/commands/earlywarningsystem.py:
(MacEWS):
(MacWK2EWS):
* Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
(_test_ewses):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@139357 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/QueueStatusServer/model/queues.py
Tools/Scripts/webkitpy/common/config/ports.py
Tools/Scripts/webkitpy/tool/commands/earlywarningsystem.py
Tools/Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py

index b78bfe1e7d9895576f8dd6f0bec1603b2d8ac08b..29a21123a8306de72f27499a14f1e9830a386c51 100644 (file)
@@ -1,3 +1,25 @@
+2013-01-10  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Add Mac WK2 EWS bots
+        https://bugs.webkit.org/show_bug.cgi?id=106590
+
+        Reviewed by Adam Barth.
+
+        Added MacWK2EWS, and made myself a watcher for MacEWS and MacWK2EWS.
+        Also add a deprecated MacWK2Port class.
+
+        * QueueStatusServer/model/queues.py:
+        (Queue):
+        * Scripts/webkitpy/common/config/ports.py:
+        (DeprecatedPort.port):
+        (MacWK2Port):
+        (MacWK2Port.run_webkit_tests_command):
+        * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
+        (MacEWS):
+        (MacWK2EWS):
+        * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
+        (_test_ewses):
+
 2013-01-10  Dan Carney  <dcarney@google.com>
 
         [chromium] move webpermissionclient related methods to TestRunner library
index afdd9ea1934707b1e3564b59f8fab9fdd299505c..ba74b08a601e1a14839b0eec8d9c27f2c9747209 100644 (file)
@@ -45,6 +45,7 @@ class Queue(object):
         "qt-wk2-ews",
         "gtk-ews",
         "mac-ews",
+        "mac-wk2-ews"
         "win-ews",
         "efl-ews",
     ]
index bb4924a75c9950406f2b9f970f63ea5a6eeb078d..6ea0f33205d6fd76857ccc1d1d28714f27d21bb2 100644 (file)
@@ -66,6 +66,7 @@ class DeprecatedPort(object):
             "chromium-xvfb": ChromiumXVFBPort,
             "gtk": GtkPort,
             "mac": MacPort,
+            "mac-wk2": MacWK2Port,
             "win": WinPort,
             "qt": QtPort,
             "efl": EflPort,
@@ -121,6 +122,15 @@ class MacPort(DeprecatedPort):
     port_flag_name = "mac"
 
 
+class MacWK2Port(DeprecatedPort):
+    port_flag_name = "mac"
+
+    def run_webkit_tests_command(self):
+        command = super(MacWK2Port, self).run_webkit_tests_command()
+        command.append("-2")
+        return command
+
+
 class WinPort(DeprecatedPort):
     port_flag_name = "win"
 
index e1b7d492b7a05a47695865c0dc85e78a50d52ec8..5615150975717805709091cca6f06190db37a41b 100644 (file)
@@ -210,3 +210,15 @@ class MacEWS(AbstractEarlyWarningSystem):
     name = "mac-ews"
     port_name = "mac"
     _default_run_tests = True
+    watchers = AbstractEarlyWarningSystem.watchers + [
+        "rniwa@webkit.org",
+    ]
+
+
+class MacWK2EWS(AbstractEarlyWarningSystem):
+    name = "mac-wk2-ews"
+    port_name = "mac-wk2"
+    _default_run_tests = True
+    watchers = AbstractEarlyWarningSystem.watchers + [
+        "rniwa@webkit.org",
+    ]
index 1218dc27bc5add656c7a2dfcf5e6ffbc25379f8d..2717e0672ed94b478a327ad82d15420f3dba1e34 100644 (file)
@@ -85,6 +85,7 @@ MOCK: release_work_item: %(name)s 10000
 
     def _test_ewses(self):
         self._test_ews(MacEWS())
+        self._test_ews(MacWK2EWS())
         self._test_ews(ChromiumLinuxEWS())
         self._test_ews(ChromiumWindowsEWS())
         self._test_ews(ChromiumAndroidEWS())