Index: build/android/pylib/instrumentation/test_runner.py |
diff --git a/build/android/pylib/instrumentation/test_runner.py b/build/android/pylib/instrumentation/test_runner.py |
index 1a15a2d6ac15a5f6416e8a72e6a35649561ae24c..33c499e10077c563da8cf4a6f6a2a18e4a69437c 100644 |
--- a/build/android/pylib/instrumentation/test_runner.py |
+++ b/build/android/pylib/instrumentation/test_runner.py |
@@ -206,6 +206,7 @@ class TestRunner(base_test_runner.BaseTestRunner): |
if self.adb.SetJavaAssertsEnabled(enable=not self.disable_assertions): |
self.adb.Reboot(full_reboot=False) |
+ self.CopyTestFilesOnce() |
# We give different default value to launch HTTP server based on shard index |
# because it may have race condition when multiple processes are trying to |
# launch lighttpd with same port at same time. |
@@ -218,7 +219,6 @@ class TestRunner(base_test_runner.BaseTestRunner): |
port_pairs.append(http_server_ports) |
self.forwarder = 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']) |
def TearDown(self): |