Index: build/android/pylib/instrumentation/instrumentation_test_instance.py |
diff --git a/build/android/pylib/instrumentation/instrumentation_test_instance.py b/build/android/pylib/instrumentation/instrumentation_test_instance.py |
index cd8617cfc15f7bb84fa79a60caa1a71261dd2de9..34ce1320a174cb79346708a3dbe75c1edccd1105 100644 |
--- a/build/android/pylib/instrumentation/instrumentation_test_instance.py |
+++ b/build/android/pylib/instrumentation/instrumentation_test_instance.py |
@@ -276,8 +276,9 @@ class InstrumentationTestInstance(test_instance.TestInstance): |
self._test_runner = self._test_apk.GetInstrumentationName() |
self._package_info = None |
+ package_under_test = self._apk_under_test.GetPackageName() |
for package_info in constants.PACKAGE_INFO.itervalues(): |
- if self._test_package == package_info.test_package: |
+ if package_under_test == package_info.package: |
rnephew (Reviews Here)
2016/04/15 20:35:36
In this context:
package_under_test == chrome
mikecase (-- gone --)
2016/04/15 20:55:36
Yeah, so for example. In the case of like ChromeTe
|
self._package_info = package_info |
if not self._package_info: |
logging.warning('Unable to find package info for %s', self._test_package) |