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, |