summaryrefslogtreecommitdiff
path: root/scripts/Component.py
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2018-05-26 17:03:03 +0200
committerBenoit Foucher <benoit@zeroc.com>2018-05-26 17:03:03 +0200
commitc7bdbdf776c93ca68cd9f0fbbd57706262d94dd3 (patch)
tree9ca5c106c528e2786fa92dd081ced0ddc1200f9c /scripts/Component.py
parentSupport for components in test script (diff)
downloadice-c7bdbdf776c93ca68cd9f0fbbd57706262d94dd3.tar.bz2
ice-c7bdbdf776c93ca68cd9f0fbbd57706262d94dd3.tar.xz
ice-c7bdbdf776c93ca68cd9f0fbbd57706262d94dd3.zip
Fixed script issues
Diffstat (limited to 'scripts/Component.py')
-rw-r--r--scripts/Component.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Component.py b/scripts/Component.py
index 92fe6b81805..a337b961708 100644
--- a/scripts/Component.py
+++ b/scripts/Component.py
@@ -108,7 +108,7 @@ class Ice(Component):
def canRun(self, testId, mapping, current):
parent = re.match(r'^([\w]*).*', testId).group(1)
if isinstance(platform, Linux):
- if self.linuxId in ["centos", "rhel", "fedora"] and current.config.buildPlatform == "x86":
+ if platform.getLinuxId() in ["centos", "rhel", "fedora"] and current.config.buildPlatform == "x86":
#
# Don't test Glacier2/IceStorm/IceGrid services with multilib platforms. We only
# build services for the native platform.
@@ -246,7 +246,7 @@ if isinstance(platform, Windows):
Mapping.remove("php")
elif not platform.hasDotNet():
# Remove C# if Dot Net Core isn't supported
- Mapping.remove("csharp", CSharpMapping())
+ Mapping.remove("csharp")
#
# Check if the Android SDK is installed and eventually add the Android mappings