summaryrefslogtreecommitdiff
path: root/scripts/Component.py
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2018-07-23 13:19:56 +0200
committerJose <jose@zeroc.com>2018-07-23 13:19:56 +0200
commit566b02e2b51f533205c4c40e5d94eb5ec5323f7b (patch)
tree14c087e631a2902dd0dec5e9d2c7616d7220fd92 /scripts/Component.py
parentUpdate .gitingore (diff)
downloadice-566b02e2b51f533205c4c40e5d94eb5ec5323f7b.tar.bz2
ice-566b02e2b51f533205c4c40e5d94eb5ec5323f7b.tar.xz
ice-566b02e2b51f533205c4c40e5d94eb5ec5323f7b.zip
Only run xamarin/iOS test on macOS
Diffstat (limited to 'scripts/Component.py')
-rw-r--r--scripts/Component.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/Component.py b/scripts/Component.py
index faa90cda2a2..5233b64ff45 100644
--- a/scripts/Component.py
+++ b/scripts/Component.py
@@ -273,7 +273,9 @@ except:
if isinstance(platform, Windows) and platform.getCompiler() == "VC141":
Mapping.add(os.path.join("csharp", "xamarin", "uwp"), XamarinUWPMapping())
-Mapping.add(os.path.join("csharp", "xamarin", "ios"), XamarinIOSMapping())
+
+if instance(platform, Darwin):
+ Mapping.add(os.path.join("csharp", "xamarin", "ios"), XamarinIOSMapping())
#
# Check if Matlab is installed and eventually add the Matlab mapping