Index: build/android/pylib/host_driven/test_case.py |
diff --git a/build/android/pylib/host_driven/test_case.py b/build/android/pylib/host_driven/test_case.py |
index d68d47a39bd9ee31e4fa4a4fa5e2ff6576613a0a..c223752e8d6064149b776a0d0b20774d04565131 100644 |
--- a/build/android/pylib/host_driven/test_case.py |
+++ b/build/android/pylib/host_driven/test_case.py |
@@ -146,10 +146,12 @@ class HostDrivenTestCase(object): |
test_type = base_test_result.ResultType.PASS |
log = '' |
+ opts = self.instrumentation_options |
test_pkg = test_package.TestPackage( |
- self.instrumentation_options.test_apk_path, |
- self.instrumentation_options.test_apk_jar_path, |
- self.instrumentation_options.test_support_apk_path) |
+ opts.test_apk_path, |
+ opts.test_apk_jar_path, |
+ opts.test_support_apk_path, |
+ test_apk_install_script=opts.test_apk_install_script) |
start_ms = int(time.time()) * 1000 |
done = False |