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

Unified Diff: build/android/pylib/test_options_parser.py

Issue 11642049: [Android] Fix the bug when full path to test apk is provided. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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: build/android/pylib/test_options_parser.py
diff --git a/build/android/pylib/test_options_parser.py b/build/android/pylib/test_options_parser.py
index 65399aadf9b8f6004f5ecb4eb3fb30283ff8662e..93382645c366a44d1de9cd82f0fef693f5933e60 100644
--- a/build/android/pylib/test_options_parser.py
+++ b/build/android/pylib/test_options_parser.py
@@ -167,7 +167,8 @@ def ValidateInstrumentationOptions(option_parser, options, args):
if os.path.exists(options.test_apk):
# The APK is fully qualified, assume the JAR lives along side.
options.test_apk_path = options.test_apk
- options.test_apk_jar_path = os.path.splitext(options.test_apk_path) + '.jar'
+ options.test_apk_jar_path = (os.path.splitext(options.test_apk_path)[0] +
+ '.jar')
else:
options.test_apk_path = os.path.join(_SDK_OUT_DIR,
options.build_type,
« 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