summaryrefslogtreecommitdiffstats
path: root/build/android/run_instrumentation_tests.py
diff options
context:
space:
mode:
authorfrankf@chromium.org <frankf@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-05 17:34:00 +0000
committerfrankf@chromium.org <frankf@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-05 17:34:00 +0000
commit27692510a2abab53929e2cd027827b272f74c0d2 (patch)
tree143f97a58f257e209fc7c71f9db3d0450b73a371 /build/android/run_instrumentation_tests.py
parentd61b24b8ffaaa8251e3dec1a6015996687e2b91e (diff)
downloadchromium_src-27692510a2abab53929e2cd027827b272f74c0d2.zip
chromium_src-27692510a2abab53929e2cd027827b272f74c0d2.tar.gz
chromium_src-27692510a2abab53929e2cd027827b272f74c0d2.tar.bz2
[Android] Deprecate old test scripts.
Just print the new command and exit. This is in preparation for completely removing these scripts. BUG= R=craigdh@chromium.org Review URL: https://codereview.chromium.org/21979006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215634 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/android/run_instrumentation_tests.py')
-rwxr-xr-xbuild/android/run_instrumentation_tests.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/build/android/run_instrumentation_tests.py b/build/android/run_instrumentation_tests.py
index c1a4ef0..7a9fa1e 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)