Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3095)

Unified Diff: build/android/test_package_apk.py

Issue 10391172: Fix test filter filename for APK based tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed the if-else logic from single_test_runner Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/single_test_runner.py ('k') | build/android/test_package_executable.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/test_package_apk.py
diff --git a/build/android/test_package_apk.py b/build/android/test_package_apk.py
index 62b8edf0d2fbee856141dfee8c13d027f34f6e0a..7def71af97e30febbb683c52459a98b148c9b014 100644
--- a/build/android/test_package_apk.py
+++ b/build/android/test_package_apk.py
@@ -88,3 +88,8 @@ class TestPackageApk(TestPackage):
self.adb.Adb().SendCommand('install -r ' + self.test_suite_full,
timeout_time=60*5)
logging.info('Install has completed.')
+
+ def GetDisabledTestsBaseFileName(self):
+ """Returns the base filename of gtest filter."""
+ # APK test suite names end with '-debug.apk'
+ return self.test_suite_basename.rsplit('-debug', 1)[0]
« no previous file with comments | « build/android/single_test_runner.py ('k') | build/android/test_package_executable.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698