summaryrefslogtreecommitdiff
path: root/third_party/catapult/devil/bin/run_py_tests
blob: 44ec61e89f24fdb8d9c4b9525a34a7f036abe640 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/env python
# Copyright 2016 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__), '..', '..'))
_DEVIL_PATH = os.path.abspath(os.path.join(
    os.path.dirname(__file__), '..'))

sys.path.append(_CATAPULT_PATH)
from catapult_build import run_with_typ


def main():
  return run_with_typ.Run(top_level_dir=_DEVIL_PATH)

if __name__ == '__main__':
  sys.exit(main())