summaryrefslogtreecommitdiff
path: root/test/SWIG/module-parens.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2008-09-20 05:42:59 +0000
committerWilliam Deegan <bill@baddogconsulting.com>2008-09-20 05:42:59 +0000
commit11d43d68f8b30f150ff3c0b9079d825ed8225b74 (patch)
treee2266e680bdc135d00781f1c12c871259d5fdfa6 /test/SWIG/module-parens.py
parent221fccac2cac38cb22dd6aab983897333e36a30d (diff)
downloadscons-11d43d68f8b30f150ff3c0b9079d825ed8225b74.tar.gz
Fix broken swig tests when python being used to run tests is incompatible with system swig.
Propagate to the created SConstructs the version of swig found by the test (which is used to determine whether to run or not run this test).
Diffstat (limited to 'test/SWIG/module-parens.py')
-rw-r--r--test/SWIG/module-parens.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/SWIG/module-parens.py b/test/SWIG/module-parens.py
index 3dabacf4..e30b93e6 100644
--- a/test/SWIG/module-parens.py
+++ b/test/SWIG/module-parens.py
@@ -50,6 +50,7 @@ if not os.path.exists(Python_h):
test.write(['SConstruct'], """\
env = Environment(SWIGFLAGS = '-python -c++',
CPPPATH=r"%(python_include_dir)s",
+ SWIG=r'%(swig)s',
FRAMEWORKS='%(python_frameworks_flags)s',
)