Index: build/android/run_instrumentation_tests.py |
diff --git a/build/android/run_instrumentation_tests.py b/build/android/run_instrumentation_tests.py |
index c1a4ef0d2697e0d9bf0c5119b2c255880ee7323e..7a9fa1ec812b091fed91cd91f29dea30cc8503ac 100755 |
--- a/build/android/run_instrumentation_tests.py |
+++ b/build/android/run_instrumentation_tests.py |
@@ -14,11 +14,10 @@ from pylib import cmd_helper |
if __name__ == '__main__': |
- args = ['python', |
- os.path.join(os.path.dirname(__file__), 'test_runner.py'), |
+ args = [os.path.join(os.path.dirname(__file__), 'test_runner.py'), |
'instrumentation'] + sys.argv[1:] |
logging.warning('*' * 80) |
logging.warning('This script is deprecated and will be removed soon.') |
logging.warning('Use the following instead: %s', ' '.join(args)) |
logging.warning('*' * 80) |
- sys.exit(cmd_helper.RunCmd(args)) |
+ sys.exit(1) |