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