[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: http://src.chromium.org/svn/trunk/src/build@215634 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
149205c537
Коммит
cf429e7bdc
|
@ -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'),
|
||||
'gtest', '-s', 'content_browsertests'] + 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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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'),
|
||||
'gtest'] + 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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче