Add iOS simulator EWS that runs tests
authorap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 8 Mar 2016 22:29:50 +0000 (22:29 +0000)
committerap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 8 Mar 2016 22:29:50 +0000 (22:29 +0000)
https://bugs.webkit.org/show_bug.cgi?id=155175

Reviewed by Lucas Forschler.

* QueueStatusServer/config/queues.py:
* Scripts/webkitpy/common/config/ews.json:
* Scripts/webkitpy/common/config/ports.py:

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

Tools/ChangeLog
Tools/QueueStatusServer/config/queues.py
Tools/Scripts/webkitpy/common/config/ews.json
Tools/Scripts/webkitpy/common/config/ports.py

index 129f7a2..fd6a718 100644 (file)
@@ -1,3 +1,14 @@
+2016-03-08  Alexey Proskuryakov  <ap@apple.com>
+
+        Add iOS simulator EWS that runs tests
+        https://bugs.webkit.org/show_bug.cgi?id=155175
+
+        Reviewed by Lucas Forschler.
+
+        * QueueStatusServer/config/queues.py:
+        * Scripts/webkitpy/common/config/ews.json:
+        * Scripts/webkitpy/common/config/ports.py:
+
 2016-03-08  Commit Queue  <commit-queue@webkit.org>
 
         Unreviewed, rolling out r197793 and r197799.
index b0bb5c4..341dd08 100644 (file)
@@ -35,6 +35,7 @@ all_queue_names = [
     "style-queue",
     "gtk-wk2-ews",
     "ios-ews",
+    "ios-sim-ews",
     "mac-ews",
     "mac-wk2-ews",
     "mac-debug-ews",
index 34ff54f..3fcebf6 100644 (file)
         "port": "ios",
         "architecture": "armv7"
     },
+    "iOS Simulator EWS": {
+        "port": "ios-simulator-wk2",
+        "name": "ios-sim-ews",
+        "runTests": true
+    },
     "Mac EWS": {
         "port": "mac",
         "watchers": [
index 822d25d..b72fea9 100644 (file)
@@ -65,6 +65,7 @@ class DeprecatedPort(object):
         ports = {
             "gtk-wk2": GtkWK2Port,
             "ios": IOSPort,
+            "ios-simulator-wk2": IOSSimulatorWK2Port,
             "mac": MacPort,
             "mac-wk2": MacWK2Port,
             "win": WinPort,
@@ -132,6 +133,15 @@ class IOSPort(DeprecatedPort):
         return command
 
 
+class IOSSimulatorWK2Port(DeprecatedPort):
+    port_flag_name = "ios-simulator-wk2"
+
+    def build_webkit_command(self, build_style=None):
+        command = super(IOSSimulatorWK2Port, self).build_webkit_command(build_style=build_style)
+        command.append("--sdk=iphonesimulator")
+        return command
+
+
 class MacPort(DeprecatedPort):
     port_flag_name = "mac"