diff options
Diffstat (limited to 'scripts/LocalDriver.py')
-rw-r--r-- | scripts/LocalDriver.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/LocalDriver.py b/scripts/LocalDriver.py index 9ec6db4aab9..e4c6a4a0a79 100644 --- a/scripts/LocalDriver.py +++ b/scripts/LocalDriver.py @@ -25,8 +25,8 @@ class Executor: self.continueOnFailure = continueOnFailure self.lock = threading.Lock() - def submit(self, testsuite, crossMappings): - mainThreadOnly = testsuite.isMainThreadOnly() or self.workers == 0 + def submit(self, testsuite, crossMappings, driver): + mainThreadOnly = testsuite.isMainThreadOnly(driver) or self.workers == 0 # # If the test supports workers and we are cross testing, ensure that all the cross @@ -391,7 +391,7 @@ class LocalDriver(Driver): continue elif isinstance(self.runner, RemoteTestCaseRunner) and not testsuite.isMultiHost(): continue - executor.submit(testsuite, Mapping.getAll() if self.allCross else [self.cross]) + executor.submit(testsuite, Mapping.getAll() if self.allCross else [self.cross], self) # # Run all the tests and wait for the executor to complete. |