diff options
Diffstat (limited to 'scripts/LocalDriver.py')
-rw-r--r-- | scripts/LocalDriver.py | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/scripts/LocalDriver.py b/scripts/LocalDriver.py index 5a134ad1939..921d76b925f 100644 --- a/scripts/LocalDriver.py +++ b/scripts/LocalDriver.py @@ -340,18 +340,14 @@ class LocalDriver(Driver): self.results = [] self.threadlocal = threading.local() - try: - if self.clientCtlPrx or self.serverCtlPrx: - self.initCommunicator() - self.runner = RemoteTestCaseRunner(self.communicator, self.clientCtlPrx, self.serverCtlPrx) - else: - self.runner = TestCaseRunner() - except: - self.destroy() - raise - def run(self, mappings, testSuiteIds): + if self.clientCtlPrx or self.serverCtlPrx: + self.initCommunicator() + self.runner = RemoteTestCaseRunner(self.communicator, self.clientCtlPrx, self.serverCtlPrx) + else: + self.runner = TestCaseRunner() + while True: executor = Executor(self.threadlocal, self.workers, self.continueOnFailure) for mapping in mappings: |