summaryrefslogtreecommitdiff
path: root/scripts/LocalDriver.py
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2017-03-23 15:29:25 +0100
committerBenoit Foucher <benoit@zeroc.com>2017-03-23 15:29:25 +0100
commit1597a75419cd8049252cfbca6fce6ae95ef8b2c7 (patch)
tree2b2c858df1dbe68c1d576cae06c4713fd2ad5c40 /scripts/LocalDriver.py
parentUse Ice\None with PHP namespace mapping (diff)
downloadice-1597a75419cd8049252cfbca6fce6ae95ef8b2c7.tar.bz2
ice-1597a75419cd8049252cfbca6fce6ae95ef8b2c7.tar.xz
ice-1597a75419cd8049252cfbca6fce6ae95ef8b2c7.zip
Fix for ICE-7125 - Added support for Ice.ClassGraphDepthMax
Diffstat (limited to 'scripts/LocalDriver.py')
-rw-r--r--scripts/LocalDriver.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/scripts/LocalDriver.py b/scripts/LocalDriver.py
index 8a6e4915c4b..71f8d4a4791 100644
--- a/scripts/LocalDriver.py
+++ b/scripts/LocalDriver.py
@@ -458,15 +458,16 @@ class LocalDriver(Driver):
if self.allCross and cross == current.testcase.getMapping():
continue
- # If the given mapping doesn't support server-side, skip this mapping.
- if cross and cross != cross.getServerMapping():
- continue
-
- # Skip if the mapping doesn't provide the test case.
+ # Skip if the mapping doesn't provide the test case
server = current.testcase.getServerTestCase(cross)
if not server:
continue
+ if cross and server.getMapping() != cross:
+ if not self.allCross:
+ current.writeln("skipped, no server available for `{0}' mapping".format(cross))
+ continue
+
current.writeln("[ running {0} test ]".format(current.testcase))
if not self.all:
current.config = current.config.cloneRunnable(current)