diff options
Diffstat (limited to 'build/android/pylib/gtest/test_package_apk.py')
-rw-r--r-- | build/android/pylib/gtest/test_package_apk.py | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/build/android/pylib/gtest/test_package_apk.py b/build/android/pylib/gtest/test_package_apk.py index 9672f7a..6447820 100644 --- a/build/android/pylib/gtest/test_package_apk.py +++ b/build/android/pylib/gtest/test_package_apk.py @@ -30,18 +30,14 @@ class TestPackageApk(TestPackage): suite_name: Name of the test suite (e.g. base_unittests). """ TestPackage.__init__(self, suite_name) + self.suite_path = os.path.join( + constants.GetOutDirectory(), '%s_apk' % suite_name, + '%s-debug.apk' % suite_name) if suite_name == 'content_browsertests': - self.suite_path = os.path.join( - constants.GetOutDirectory(), 'apks', '%s.apk' % suite_name) self._package_info = constants.PACKAGE_INFO['content_browsertests'] elif suite_name == 'components_browsertests': - self.suite_path = os.path.join( - constants.GetOutDirectory(), 'apks', '%s.apk' % suite_name) self._package_info = constants.PACKAGE_INFO['components_browsertests'] else: - self.suite_path = os.path.join( - constants.GetOutDirectory(), '%s_apk' % suite_name, - '%s-debug.apk' % suite_name) self._package_info = constants.PACKAGE_INFO['gtest'] def _CreateCommandLineFileOnDevice(self, device, options): |