diff options
author | Benoit Foucher <benoit@zeroc.com> | 2016-11-29 14:03:47 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2016-11-29 14:03:47 +0100 |
commit | 3f86980ba3c654c90f9cb7230b6c9855e6df8b51 (patch) | |
tree | 8ae66110804889889239f651b9309c1915206400 /scripts/Util.py | |
parent | IceGrid/noRestartUpdate failure, print out the reason of the failure (diff) | |
download | ice-3f86980ba3c654c90f9cb7230b6c9855e6df8b51.tar.bz2 ice-3f86980ba3c654c90f9cb7230b6c9855e6df8b51.tar.xz ice-3f86980ba3c654c90f9cb7230b6c9855e6df8b51.zip |
Fixed Ice/properties test failure
Diffstat (limited to 'scripts/Util.py')
-rw-r--r-- | scripts/Util.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/Util.py b/scripts/Util.py index 0221e94305b..6dad4ddcadf 100644 --- a/scripts/Util.py +++ b/scripts/Util.py @@ -585,8 +585,10 @@ class Mapping: if testcases: TestSuite(root, testcases) - def getTestSuites(self): - return self.testsuites.values() + def getTestSuites(self, ids=[]): + if not ids: + return self.testsuites.values() + return [self.testsuites[testSuiteId] for testSuiteId in ids if testSuiteId in self.testsuites] def addTestSuite(self, testsuite): assert len(testsuite.path) > len(self.getTestsPath()) + 1 @@ -2153,7 +2155,7 @@ def runTests(mappings=None, drivers=None): # Finally, run the test suites with the driver. # try: - sys.exit(driver.run(mappings)) + sys.exit(driver.run(mappings, args)) except KeyboardInterrupt: pass finally: |