diff options
Diffstat (limited to 'test/SWIG/implicit-dependencies.py')
| -rw-r--r-- | test/SWIG/implicit-dependencies.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/SWIG/implicit-dependencies.py b/test/SWIG/implicit-dependencies.py index 49f9cc7..6d40216 100644 --- a/test/SWIG/implicit-dependencies.py +++ b/test/SWIG/implicit-dependencies.py @@ -33,12 +33,12 @@ import TestSCons test = TestSCons.TestSCons() swig = test.where_is('swig') - if not swig: test.skip_test('Can not find installed "swig", skipping test.\n') -_python_ = test.get_quoted_platform_python() - +python = test.where_is('python') +if not python: + test.skip_test('Can not find installed "python", skipping test.\n') test.write("dependency.i", """\ @@ -54,7 +54,7 @@ test.write("dependent.i", """\ test.write('SConstruct', """ foo = Environment(SWIGFLAGS='-python') swig = foo.Dictionary('SWIG') -bar = foo.Clone(SWIG = r'%(_python_)s wrapper.py ' + swig) +bar = foo.Clone(SWIG = [r'%(python)s', r'wrapper.py', swig]) foo.CFile(target = 'dependent', source = ['dependent.i']) """ % locals()) |
