summaryrefslogtreecommitdiffstats
path: root/build/android/run_tests.py
blob: dbb08327196bdeea5e74a38c976b74858e671bb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/env python
#
# Copyright (c) 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

"""Runs all the native unit tests."""

import logging
import os
import sys

from pylib import cmd_helper


if __name__ == '__main__':
  args = ['python',
          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))