Home | History | Annotate | Download | only in tools
      1 #!/usr/bin/env python
      2 # Copyright 2014 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 _script_dir = os.path.dirname(os.path.abspath(__file__))
     10 sys.path.insert(0, os.path.join(_script_dir, "pylib"))
     11 
     12 from mojo_python_tests_runner import MojoPythonTestRunner
     13 
     14 
     15 def main():
     16   runner = MojoPythonTestRunner(os.path.join('mojo', 'public', 'tools',
     17                                              'bindings', 'pylib'))
     18   sys.exit(runner.run())
     19 
     20 
     21 if __name__ == '__main__':
     22   sys.exit(main())
     23