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

Side by Side Diff: build/android/run_tests.py

Issue 21979006: [Android] Deprecate old test scripts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « build/android/run_instrumentation_tests.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # 2 #
3 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 """Runs all the native unit tests.""" 7 """Runs all the native unit tests."""
8 8
9 import logging 9 import logging
10 import os 10 import os
11 import sys 11 import sys
12 12
13 from pylib import cmd_helper 13 from pylib import cmd_helper
14 14
15 15
16 if __name__ == '__main__': 16 if __name__ == '__main__':
17 args = ['python', 17 args = [os.path.join(os.path.dirname(__file__), 'test_runner.py'),
18 os.path.join(os.path.dirname(__file__), 'test_runner.py'),
19 'gtest'] + sys.argv[1:] 18 'gtest'] + sys.argv[1:]
20 logging.warning('*' * 80) 19 logging.warning('*' * 80)
21 logging.warning('This script is deprecated and will be removed soon.') 20 logging.warning('This script is deprecated and will be removed soon.')
22 logging.warning('Use the following instead: %s', ' '.join(args)) 21 logging.warning('Use the following instead: %s', ' '.join(args))
23 logging.warning('*' * 80) 22 logging.warning('*' * 80)
24 sys.exit(cmd_helper.RunCmd(args)) 23 sys.exit(1)
OLDNEW
« no previous file with comments | « build/android/run_instrumentation_tests.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698