1#!/usr/bin/env python
2# Copyright (c) 2015 The Chromium Authors. All rights reserved.
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
5
6import os
7import sys
8
9
10_CATAPULT_PATH = os.path.abspath(
11    os.path.join(os.path.dirname(__file__), '..', '..'))
12_TESTS = [
13    {'path': os.path.join(
14        _CATAPULT_PATH, 'common', 'eslint', 'bin', 'run_tests')},
15    {'path': os.path.join(
16        _CATAPULT_PATH, 'common', 'py_trace_event', 'bin', 'run_tests')},
17    {'path': os.path.join(
18        _CATAPULT_PATH, 'common', 'py_utils', 'bin', 'run_tests')},
19    {'path': os.path.join(
20        _CATAPULT_PATH, 'common', 'py_vulcanize', 'bin', 'run_py_tests')},
21]
22
23
24if __name__ == '__main__':
25  sys.path.append(_CATAPULT_PATH)
26  from catapult_build import test_runner
27  sys.exit(test_runner.Main('project', _TESTS, sys.argv))
28
29