summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/tests/Ice/exceptions.py5
-rw-r--r--scripts/tests/Ice/objects.py10
2 files changed, 12 insertions, 3 deletions
diff --git a/scripts/tests/Ice/exceptions.py b/scripts/tests/Ice/exceptions.py
index 0e2ac209032..268d40fd8d2 100644
--- a/scripts/tests/Ice/exceptions.py
+++ b/scripts/tests/Ice/exceptions.py
@@ -21,4 +21,7 @@ if Mapping.getByPath(__name__).hasSource("Ice/exceptions", "serveramd"):
ClientAMDServerTestCase("client/amd server with 1.0 encoding", props={ "Ice.Default.EncodingVersion" : "1.0" }),
]
-TestSuite(__name__, testcases) \ No newline at end of file
+if Mapping.getByPath(__name__).hasSource("Ice/exceptions", "collocated"):
+ testcases += [ CollocatedTestCase() ]
+
+TestSuite(__name__, testcases)
diff --git a/scripts/tests/Ice/objects.py b/scripts/tests/Ice/objects.py
index fef2b3fb6cb..d11092609db 100644
--- a/scripts/tests/Ice/objects.py
+++ b/scripts/tests/Ice/objects.py
@@ -7,8 +7,14 @@
#
# **********************************************************************
-TestSuite(__name__, [
+testcases = [
ClientServerTestCase("client/server with compact format"),
ClientServerTestCase("client/server with sliced format", props={ "Ice.Default.SlicedFormat" : True }),
ClientServerTestCase("client/server with 1.0 encoding", props={ "Ice.Default.EncodingVersion" : "1.0" }),
-]) \ No newline at end of file
+]
+
+if Mapping.getByPath(__name__).hasSource("Ice/objects", "collocated"):
+ testcases += [ CollocatedTestCase() ]
+
+TestSuite(__name__, testcases)
+