summaryrefslogtreecommitdiff
path: root/scripts/tests/Ice/optional.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/tests/Ice/optional.py')
-rw-r--r--scripts/tests/Ice/optional.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/scripts/tests/Ice/optional.py b/scripts/tests/Ice/optional.py
new file mode 100644
index 00000000000..b706d197749
--- /dev/null
+++ b/scripts/tests/Ice/optional.py
@@ -0,0 +1,23 @@
+# **********************************************************************
+#
+# Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved.
+#
+# This copy of Ice is licensed to you under the terms described in the
+# ICE_LICENSE file included in this distribution.
+#
+# **********************************************************************
+
+
+testcases = [
+ ClientServerTestCase("client/server with compact format"),
+ ClientServerTestCase("client/server with sliced format", props={ "Ice.Default.SlicedFormat" : True }),
+]
+
+# If the mapping has AMD servers, also run with the AMD servers
+if Mapping.getByPath(__name__).hasSource("Ice/exceptions", "serveramd"):
+ testcases += [
+ ClientAMDServerTestCase("client/amd server with compact format"),
+ ClientAMDServerTestCase("client/amd server with sliced format", props={ "Ice.Default.SlicedFormat" : True }),
+ ]
+
+TestSuite(__name__, testcases) \ No newline at end of file