| Index: ppapi/generators/idl_parser.py
|
| diff --git a/ppapi/generators/idl_parser.py b/ppapi/generators/idl_parser.py
|
| old mode 100644
|
| new mode 100755
|
| index 43fb967c75e5fe1237581a05e26889f84f87de64..7d068b157a7a8ada7384272b437f60c0dc91a5e2
|
| --- a/ppapi/generators/idl_parser.py
|
| +++ b/ppapi/generators/idl_parser.py
|
| @@ -1,5 +1,4 @@
|
| -#!/usr/bin/python
|
| -#
|
| +#!/usr/bin/env python
|
| # Copyright (c) 2011 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.
|
| @@ -976,6 +975,7 @@ def TestErrorFiles(filter):
|
| InfoOut.Log("Passed parsing test.")
|
| return total_errs
|
|
|
| +
|
| def TestNamespaceFiles(filter):
|
| idldir = os.path.split(sys.argv[0])[0]
|
| idldir = os.path.join(idldir, 'test_namespace', '*.idl')
|
| @@ -1049,5 +1049,6 @@ def Main(args):
|
| InfoOut.Log("%d files processed." % len(filenames))
|
| return errs
|
|
|
| +
|
| if __name__ == '__main__':
|
| sys.exit(Main(sys.argv[1:]))
|
|
|