diff options
Diffstat (limited to 'scripts/tests/Ice/optional.py')
-rw-r--r-- | scripts/tests/Ice/optional.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts/tests/Ice/optional.py b/scripts/tests/Ice/optional.py index b706d197749..0de74f758ff 100644 --- a/scripts/tests/Ice/optional.py +++ b/scripts/tests/Ice/optional.py @@ -14,10 +14,17 @@ testcases = [ ] # If the mapping has AMD servers, also run with the AMD servers -if Mapping.getByPath(__name__).hasSource("Ice/exceptions", "serveramd"): +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 }), ] +# If the mapping has bidir clients, also run with the bidir clients. +if Mapping.getByPath(__name__).getClientMapping().hasSource("Ice/optional", "clientBidir"): + testcases += [ + ClientEchoServerTestCase("client/echo server with compact format"), + ClientEchoServerTestCase("client/echo server with sliced format", props={ "Ice.Default.SlicedFormat" : True }), + ] + TestSuite(__name__, testcases)
\ No newline at end of file |