summaryrefslogtreecommitdiffstats
path: root/test/SWIG/SWIGPATH.py
diff options
context:
space:
mode:
authorDaniel Moody <dmoody256@gmail.com>2017-12-27 22:46:38 (GMT)
committerDaniel Moody <dmoody256@gmail.com>2018-05-25 14:49:49 (GMT)
commitc299f365221f80e2325d391e9c15f4c1e2632486 (patch)
tree7f488035cbe9ef862c6b52f61538f7dc4e1df510 /test/SWIG/SWIGPATH.py
parent105cc64306ad8e5af41ba02941576082b6326caf (diff)
downloadSCons-c299f365221f80e2325d391e9c15f4c1e2632486.zip
SCons-c299f365221f80e2325d391e9c15f4c1e2632486.tar.gz
SCons-c299f365221f80e2325d391e9c15f4c1e2632486.tar.bz2
fixed swig tests to work on windows
Diffstat (limited to 'test/SWIG/SWIGPATH.py')
-rw-r--r--test/SWIG/SWIGPATH.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/SWIG/SWIGPATH.py b/test/SWIG/SWIGPATH.py
index 55e8d7e..d516c0c 100644
--- a/test/SWIG/SWIGPATH.py
+++ b/test/SWIG/SWIGPATH.py
@@ -40,7 +40,8 @@ python = test.where_is('python')
if not python:
test,skip_test('Can not find installed "python", skipping test.\n')
-
+swig = swig.replace('\\','/')
+python = python.replace('\\','/')
test.subdir('inc1', 'inc2')
test.write(['inc2', 'dependency.i'], """\
@@ -95,4 +96,4 @@ test.pass_test()
# tab-width:4
# indent-tabs-mode:nil
# End:
-# vim: set expandtab tabstop=4 shiftwidth=4:
+# vim: set expandtab tabstop=4 shiftwidth=4: \ No newline at end of file