| Index: gyptest.py
|
| diff --git a/gyptest.py b/gyptest.py
|
| index 8e4fc47d5c804b910bdea078b0e696a5189887db..a541517dcd1881875d5b33fe3df22ec910bd0bdf 100755
|
| --- a/gyptest.py
|
| +++ b/gyptest.py
|
| @@ -4,6 +4,8 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| +from __future__ import print_function
|
| +
|
| __doc__ = """
|
| gyptest.py -- test runner for GYP tests.
|
| """
|
| @@ -190,13 +192,13 @@ def main(argv=None):
|
| tests.extend(find_all_gyptest_files(os.path.normpath(arg)))
|
| else:
|
| if not is_test_name(os.path.basename(arg)):
|
| - print >>sys.stderr, arg, 'is not a valid gyp test name.'
|
| + print(arg, 'is not a valid gyp test name.', file=sys.stderr)
|
| sys.exit(1)
|
| tests.append(arg)
|
|
|
| if opts.list:
|
| for test in tests:
|
| - print test
|
| + print(test)
|
| sys.exit(0)
|
|
|
| CommandRunner.verbose = not opts.quiet
|
| @@ -222,6 +224,7 @@ def main(argv=None):
|
| 'openbsd5': ['make'],
|
| 'cygwin': ['msvs'],
|
| 'win32': ['msvs', 'ninja'],
|
| + 'linux': ['make', 'ninja'],
|
| 'linux2': ['make', 'ninja'],
|
| 'linux3': ['make', 'ninja'],
|
| 'darwin': ['make', 'ninja', 'xcode', 'xcode-ninja'],
|
|
|