summaryrefslogtreecommitdiff
path: root/scripts/tests
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2019-07-15 05:14:32 -0400
committerBenoit Foucher <benoit@zeroc.com>2019-07-15 11:14:32 +0200
commit2e60ce8af12b12a8c1aed18c7bea2413016d4004 (patch)
tree4f5f578bb99ea4713cbc1d0e57346b6036c70f10 /scripts/tests
parentTest script minor warning fixes (diff)
downloadice-2e60ce8af12b12a8c1aed18c7bea2413016d4004.tar.bz2
ice-2e60ce8af12b12a8c1aed18c7bea2413016d4004.tar.xz
ice-2e60ce8af12b12a8c1aed18c7bea2413016d4004.zip
Port to AIX with g++, xlC_r and xlclang++ (#434)
Diffstat (limited to 'scripts/tests')
-rw-r--r--scripts/tests/Ice/objects.py7
-rw-r--r--scripts/tests/IceDiscovery/simple.py8
2 files changed, 14 insertions, 1 deletions
diff --git a/scripts/tests/Ice/objects.py b/scripts/tests/Ice/objects.py
index fe972e7d547..70ce1b8eba0 100644
--- a/scripts/tests/Ice/objects.py
+++ b/scripts/tests/Ice/objects.py
@@ -20,6 +20,13 @@ class ObjectClientServerTestCase(ClientServerTestCase):
# test on arm64 devices with a debug Ice libraries which require lots of stack space.
#
props["Ice.ThreadPool.Server.StackSize"] = 768 * 1024
+ elif current.config.buildPlatform == "ppc":
+ #
+ # The AIX ppc default stack size is too small
+ #
+ props["Ice.ThreadPool.Server.StackSize"] = 256 * 1024
+ elif current.config.buildPlatform == "ppc64":
+ props["Ice.ThreadPool.Server.StackSize"] = 768 * 1024
return props
testcases = [
diff --git a/scripts/tests/IceDiscovery/simple.py b/scripts/tests/IceDiscovery/simple.py
index cac139890e7..c34907d0f9d 100644
--- a/scripts/tests/IceDiscovery/simple.py
+++ b/scripts/tests/IceDiscovery/simple.py
@@ -34,7 +34,13 @@ def suppressWarning(x):
# Filter-out the warning about invalid lookup proxy
outfilters = [ lambda x: suppressWarning(x) ]
+options = None
+if isinstance(platform,AIX):
+ # AIX test VMs only have IPv6 enabled on the loopback interface
+ # where multicast doesn't work
+ options = { "ipv6" : [False] }
+
TestSuite(__name__, [
ClientServerTestCase(client=Client(args=[3], props=props, outfilters=outfilters),
servers=[Server(args=[i], readyCount=4, props=props) for i in range(0, 3)])
-], multihost=False)
+], multihost=False, options=options)