1 #!/usr/bin/env python 2 # 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 5 # found in the LICENSE file. 6 7 """Runs all the native unit tests.""" 8 9 import logging 10 import os 11 import sys 12 13 from pylib import cmd_helper 14 15 16 if __name__ == '__main__': 17 args = [os.path.join(os.path.dirname(__file__), 'test_runner.py'), 18 'gtest'] + sys.argv[1:] 19 logging.warning('*' * 80) 20 logging.warning('This script is deprecated and will be removed soon.') 21 logging.warning('Use the following instead: %s', ' '.join(args)) 22 logging.warning('*' * 80) 23 sys.exit(1) 24