From 2b12f731cfa1750c624527341be60b573603fce3 Mon Sep 17 00:00:00 2001 From: Benoit Foucher Date: Fri, 16 Jun 2017 17:56:16 +0200 Subject: Fixed iOS/UWP testing to ignore --workers, it's not supported yet --- scripts/LocalDriver.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/LocalDriver.py') 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. -- cgit v1.2.3