Index: build/android/test_package_apk.py |
diff --git a/build/android/test_package_apk.py b/build/android/test_package_apk.py |
index 7def71af97e30febbb683c52459a98b148c9b014..e5d215152eba583cf75ebcc7799af026b3ebd9cd 100644 |
--- a/build/android/test_package_apk.py |
+++ b/build/android/test_package_apk.py |
@@ -89,7 +89,7 @@ class TestPackageApk(TestPackage): |
timeout_time=60*5) |
logging.info('Install has completed.') |
- def GetDisabledTestsBaseFileName(self): |
- """Returns the base filename of gtest filter.""" |
+ def _GetTestSuiteBaseName(self): |
+ """Returns the base name of the test suite.""" |
# APK test suite names end with '-debug.apk' |
- return self.test_suite_basename.rsplit('-debug', 1)[0] |
+ return os.path.basename(self.test_suite).rsplit('-debug', 1)[0] |