| Index: test/compiler-override/gyptest-compiler-env.py
|
| diff --git a/test/compiler-override/gyptest-compiler-env.py b/test/compiler-override/gyptest-compiler-env.py
|
| index d13d692dc6e3f62a9d8d046856c7d823b2d6a579..df685635cf23eb48c7bbd1d7f0a286119091ed89 100755
|
| --- a/test/compiler-override/gyptest-compiler-env.py
|
| +++ b/test/compiler-override/gyptest-compiler-env.py
|
| @@ -30,8 +30,6 @@ def CheckCompiler(test, gypfile, check_for, run_gyp):
|
| test.run_gyp(gypfile)
|
| test.build(gypfile)
|
|
|
| - # We can't test to presence of my_ld.py in the output since
|
| - # ninja will use CXX_target as the linker regardless
|
| test.must_contain_all_lines(test.stdout(), check_for)
|
|
|
|
|
| @@ -49,8 +47,7 @@ def TestTargetOveride():
|
| os.environ['CXX'] = 'python %s/my_cxx.py FOO' % here
|
| os.environ['LINK'] = 'python %s/my_ld.py FOO_LINK' % here
|
|
|
| - CheckCompiler(test, 'compiler.gyp', expected,
|
| - True)
|
| + CheckCompiler(test, 'compiler-exe.gyp', expected, True)
|
| finally:
|
| os.environ.clear()
|
| os.environ.update(oldenv)
|
| @@ -58,8 +55,8 @@ def TestTargetOveride():
|
| # Run the same tests once the eviron has been restored. The
|
| # generated should have embedded all the settings in the
|
| # project files so the results should be the same.
|
| - CheckCompiler(test, 'compiler.gyp', expected,
|
| - False)
|
| + CheckCompiler(test, 'compiler-exe.gyp', expected, False)
|
| +
|
|
|
| def TestTargetOverideCompilerOnly():
|
| # Same test again but with that CC, CXX and not LD
|
| @@ -68,7 +65,7 @@ def TestTargetOverideCompilerOnly():
|
| os.environ['CC'] = 'python %s/my_cc.py FOO' % here
|
| os.environ['CXX'] = 'python %s/my_cxx.py FOO' % here
|
|
|
| - CheckCompiler(test, 'compiler.gyp',
|
| + CheckCompiler(test, 'compiler-exe.gyp',
|
| ['my_cc.py', 'my_cxx.py', 'FOO'],
|
| True)
|
| finally:
|
| @@ -78,7 +75,7 @@ def TestTargetOverideCompilerOnly():
|
| # Run the same tests once the eviron has been restored. The
|
| # generated should have embedded all the settings in the
|
| # project files so the results should be the same.
|
| - CheckCompiler(test, 'compiler.gyp',
|
| + CheckCompiler(test, 'compiler-exe.gyp',
|
| ['my_cc.py', 'my_cxx.py', 'FOO'],
|
| False)
|
|
|
|
|