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_THIS_PATH = os.path.dirname(__file__) 11_TESTS = [ 12 {'path': os.path.join(_THIS_PATH, 'run_py_tests')}, 13 {'path': os.path.join(_THIS_PATH, 'run_vinn_tests'), 14 'disabled': {'win32'}}, 15 {'path': os.path.join(_THIS_PATH, 'run_dev_server_tests'), 16 'chrome_path_arg': True} 17] 18 19 20if __name__ == '__main__': 21 catapult_path = os.path.abspath(os.path.join(os.path.dirname(__file__), 22 '..', '..')) 23 sys.path.append(catapult_path) 24 from catapult_build import test_runner 25 sys.exit(test_runner.Main('tracing', _TESTS, sys.argv)) 26