Reimport
This commit is contained in:
28
tools/adb/systrace/catapult/common/bin/run_tests
Normal file
28
tools/adb/systrace/catapult/common/bin/run_tests
Normal file
@@ -0,0 +1,28 @@
|
||||
#!/usr/bin/env python
|
||||
# Copyright (c) 2015 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.
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
|
||||
_CATAPULT_PATH = os.path.abspath(
|
||||
os.path.join(os.path.dirname(__file__), '..', '..'))
|
||||
_TESTS = [
|
||||
{'path': os.path.join(
|
||||
_CATAPULT_PATH, 'common', 'eslint', 'bin', 'run_tests')},
|
||||
{'path': os.path.join(
|
||||
_CATAPULT_PATH, 'common', 'py_trace_event', 'bin', 'run_tests')},
|
||||
{'path': os.path.join(
|
||||
_CATAPULT_PATH, 'common', 'py_utils', 'bin', 'run_tests')},
|
||||
{'path': os.path.join(
|
||||
_CATAPULT_PATH, 'common', 'py_vulcanize', 'bin', 'run_py_tests')},
|
||||
]
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
sys.path.append(_CATAPULT_PATH)
|
||||
from catapult_build import test_runner
|
||||
sys.exit(test_runner.Main('project', _TESTS, sys.argv))
|
||||
|
||||
Reference in New Issue
Block a user