summaryrefslogtreecommitdiffstats
path: root/mojo/tools/run_mojo_python_tests.py
blob: d83ca54cbfd37b1942c80a5bedd111c10f1adb74 (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 2014 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

_script_dir = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, os.path.join(_script_dir, "pylib"))

from mojo_python_tests_runner import MojoPythonTestRunner


def main():
  runner = MojoPythonTestRunner(os.path.join('mojo', 'public', 'tools',
                                             'bindings', 'pylib'))
  sys.exit(runner.run())


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