summaryrefslogtreecommitdiffstats
path: root/test/SWIG/build-dir.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2008-09-20 05:42:59 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2008-09-20 05:42:59 (GMT)
commitfa63153c9ba99481ce070c5eca25016d08a6a13f (patch)
treee2266e680bdc135d00781f1c12c871259d5fdfa6 /test/SWIG/build-dir.py
parenta366f132c9dd57989997a0cfa980e037a2720628 (diff)
downloadSCons-fa63153c9ba99481ce070c5eca25016d08a6a13f.zip
SCons-fa63153c9ba99481ce070c5eca25016d08a6a13f.tar.gz
SCons-fa63153c9ba99481ce070c5eca25016d08a6a13f.tar.bz2
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/build-dir.py')
-rw-r--r--test/SWIG/build-dir.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/SWIG/build-dir.py b/test/SWIG/build-dir.py
index 85ad7f5..1bee0c2 100644
--- a/test/SWIG/build-dir.py
+++ b/test/SWIG/build-dir.py
@@ -66,6 +66,7 @@ test.write(['SConstruct'], """\
#
env = Environment(CPPPATH = [".", r'%(python_include_dir)s'],
CPPDEFINES = "NDEBUG",
+ SWIG =r'%(swig)s',
SWIGFLAGS = ["-python", "-c++"],
SWIGCXXFILESUFFIX = "_wrap.cpp",
LDMODULEPREFIX='_',