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

Unified Diff: build/android/run_tests.py

Issue 10387086: Run APK tests on the android_test trybot. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix naming of functions in buildbot_functions.sh 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/buildbot_try_compile_test.sh ('k') | ipc/ipc.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/run_tests.py
diff --git a/build/android/run_tests.py b/build/android/run_tests.py
index 6f59cb27caf25b304d6609c2eca5950f51bdaa57..f059a24a28951d8875392cb0f8691e548e35331e 100755
--- a/build/android/run_tests.py
+++ b/build/android/run_tests.py
@@ -76,6 +76,13 @@ _TEST_SUITES = ['base_unittests',
'ui_unittests',
]
+# Test suites which are build as an APK. This will be replaced by the default
+# list when we start building all suites as APK.
+_APK_TEST_SUITES = ['replaceme', # Test the template apk too.
+ 'base_unittests',
+ 'ipc_tests',
+ 'ui_unittests',
+ ]
def FullyQualifiedTestSuites(apk):
"""Return a fully qualified list that represents all known suites.
@@ -86,11 +93,11 @@ def FullyQualifiedTestSuites(apk):
test_suite_dir = os.path.abspath(os.path.join(run_tests_helper.CHROME_DIR,
'out', 'Release'))
if apk:
- # out/Release/$SUITE_apk/ChromeNativeTests-debug.apk
+ # out/Release/$SUITE_apk/$SUITE-debug.apk
suites = [os.path.join(test_suite_dir,
t + '_apk',
- 'ChromeNativeTests-debug.apk')
- for t in _TEST_SUITES]
+ t + '-debug.apk')
+ for t in _APK_TEST_SUITES]
else:
suites = [os.path.join(test_suite_dir, t) for t in _TEST_SUITES]
return suites
« no previous file with comments | « build/android/buildbot_try_compile_test.sh ('k') | ipc/ipc.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698