run-webkit-tests: Report MacCatalyst as a unique platform
authorjbedard@apple.com <jbedard@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 21 Mar 2020 00:27:32 +0000 (00:27 +0000)
committerjbedard@apple.com <jbedard@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 21 Mar 2020 00:27:32 +0000 (00:27 +0000)
https://bugs.webkit.org/show_bug.cgi?id=209361

Rubber-stamped by Aakash Jain.

* Scripts/webkitpy/port/mac.py:
(MacCatalystPort):
(MacCatalystPort.configuration_for_upload): Treat MacCatalyst as a separate platform from Mac.

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

Tools/ChangeLog
Tools/Scripts/webkitpy/port/mac.py

index 711dc2d..1259f74 100644 (file)
@@ -1,3 +1,14 @@
+2020-03-20  Jonathan Bedard  <jbedard@apple.com>
+
+        run-webkit-tests: Report MacCatalyst as a unique platform
+        https://bugs.webkit.org/show_bug.cgi?id=209361
+
+        Rubber-stamped by Aakash Jain.
+
+        * Scripts/webkitpy/port/mac.py:
+        (MacCatalystPort):
+        (MacCatalystPort.configuration_for_upload): Treat MacCatalyst as a separate platform from Mac.
+
 2020-03-20  Alex Christensen  <achristensen@webkit.org>
 
         CORS-disabling SPI introduced in r253978 should make responses non-opaque
 2020-03-20  Alex Christensen  <achristensen@webkit.org>
 
         CORS-disabling SPI introduced in r253978 should make responses non-opaque
index 35d48cd..34f9445 100644 (file)
@@ -297,3 +297,8 @@ class MacCatalystPort(MacPort):
 
     def _build_driver_flags(self):
         return ['SDK_VARIANT=iosmac'] + super(MacCatalystPort, self)._build_driver_flags()
 
     def _build_driver_flags(self):
         return ['SDK_VARIANT=iosmac'] + super(MacCatalystPort, self)._build_driver_flags()
+
+    def configuration_for_upload(self, host=None):
+        configuration = super(MacCatalystPort, self).configuration_for_upload(host=host)
+        configuration['platform'] = self.port_name
+        return configuration