diff options
Diffstat (limited to 'scripts/LocalDriver.py')
-rw-r--r-- | scripts/LocalDriver.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/LocalDriver.py b/scripts/LocalDriver.py index d779fce009f..354719b8809 100644 --- a/scripts/LocalDriver.py +++ b/scripts/LocalDriver.py @@ -239,6 +239,12 @@ class RemoteTestCaseRunner(TestCaseRunner): testSuiteIds = serverTestSuiteIds return mapping.getTestSuites(testSuiteIds) + def getHost(self, protocol, ipv6): + if self.clientController: + return self.clientController.getHost(protocol, ipv6) + else: + return self.serverController.getHost(protocol, ipv6) + def filterOptions(self, options): if options is None: return None @@ -606,6 +612,12 @@ class LocalDriver(Driver): current.testcase._runClientSide(current) + def getHost(self, protocol, ipv6): + if isinstance(self.runner, RemoteTestCaseRunner): + return self.runner.getHost(protocol, ipv6) + else: + return Driver.getHost(self, protocol, ipv6) + def isWorkerThread(self): return hasattr(self.threadlocal, "num") |