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

Unified Diff: scripts/slave/recipe_modules/chromium_android/api.py

Issue 1857273003: Allow run_instrumentation_suite to use --test-apk with a wrapper script (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/chromium_android/api.py
diff --git a/scripts/slave/recipe_modules/chromium_android/api.py b/scripts/slave/recipe_modules/chromium_android/api.py
index 315ee413dbe4678f293f53b157fbb9c5601f7efd..7779b8ad9c70beb0f54394f6a6ffa652db4f5be3 100644
--- a/scripts/slave/recipe_modules/chromium_android/api.py
+++ b/scripts/slave/recipe_modules/chromium_android/api.py
@@ -713,12 +713,13 @@ class AndroidApi(recipe_api.RecipeApi):
args.extend(['--num-retries', str(num_retries)])
if device_flags:
args.extend(['--device-flags', device_flags])
+ if test_apk:
+ args.extend(['--test-apk', test_apk])
+ if apk_under_test:
+ args.extend(['--apk-under-test', apk_under_test])
if not wrapper_script_suite_name:
args.insert(0, 'instrumentation')
- args.extend(['--test-apk', test_apk])
- if apk_under_test:
- args.extend(['--apk-under-test', apk_under_test])
for a in additional_apks or []:
args.extend(['--additional-apk', a])
if isolate_file_path:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698