| Index: build/android/pylib/run_java_tests.py
|
| diff --git a/build/android/pylib/run_java_tests.py b/build/android/pylib/run_java_tests.py
|
| index fc0a13fd8120323d9f31ff0fef78105fae49cb4d..3f0a991d9eebb172d6cadbaa6d9deb783c87492f 100644
|
| --- a/build/android/pylib/run_java_tests.py
|
| +++ b/build/android/pylib/run_java_tests.py
|
| @@ -276,8 +276,8 @@ class TestRunner(BaseTestRunner):
|
| # We need to remember which ports the HTTP server is using, since the
|
| # forwarder will stomp on them otherwise.
|
| port_pairs.append(http_server_ports)
|
| - self.forwarder = Forwarder(
|
| - self.adb, port_pairs, self.tool, '127.0.0.1', self.build_type)
|
| + self.forwarder = Forwarder(self.adb, self.build_type)
|
| + self.forwarder.Run(port_pairs, self.tool, '127.0.0.1')
|
| self.CopyTestFilesOnce()
|
| self.flags.AddFlags(['--enable-test-intents'])
|
|
|
| @@ -498,7 +498,7 @@ class TestSharder(BaseTestSharder):
|
| """Responsible for sharding the tests on the connected devices."""
|
|
|
| def __init__(self, attached_devices, options, tests, apks):
|
| - BaseTestSharder.__init__(self, attached_devices)
|
| + BaseTestSharder.__init__(self, attached_devices, options.build_type)
|
| self.options = options
|
| self.tests = tests
|
| self.apks = apks
|
|
|