summaryrefslogtreecommitdiff
path: root/scripts/tests/Ice/optional.py
blob: 4e6994bbd616f4de7d92a2219003640c834fd45f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#
# Copyright (c) ZeroC, Inc. All rights reserved.
#

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/optional", "serveramd"):
    testcases += [
        ClientAMDServerTestCase("client/amd server with compact format"),
        ClientAMDServerTestCase("client/amd server with sliced format", props={ "Ice.Default.SlicedFormat" : True }),
    ]

TestSuite(__name__, testcases)