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 6 import os 7 import sys 8 9 10 _THIS_PATH = os.path.dirname(os.path.realpath(__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 20 if __name__ == '__main__': 21 tracing_path = os.path.abspath(os.path.join( 22 os.path.dirname(os.path.realpath(__file__)), '..')) 23 sys.path.append(tracing_path) 24 from catapult_build import test_runner 25 sys.exit(test_runner.Main('tracing', _TESTS, sys.argv)) 26