summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Moody <dmoody256@gmail.com>2018-05-25 14:50:56 (GMT)
committerDaniel Moody <dmoody256@gmail.com>2018-05-25 14:50:56 (GMT)
commit14083d5ab0b909eb8626fe8e94b47cfd598f45fc (patch)
treef508a91d1be592375477633bb9b2c26fd0162068
parentc299f365221f80e2325d391e9c15f4c1e2632486 (diff)
downloadSCons-14083d5ab0b909eb8626fe8e94b47cfd598f45fc.zip
SCons-14083d5ab0b909eb8626fe8e94b47cfd598f45fc.tar.gz
SCons-14083d5ab0b909eb8626fe8e94b47cfd598f45fc.tar.bz2
pr-3052: updated swig test to work for windows.
-rw-r--r--test/SWIG/recursive-includes-cpp.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/SWIG/recursive-includes-cpp.py b/test/SWIG/recursive-includes-cpp.py
index 0baa195..e69b5b9 100644
--- a/test/SWIG/recursive-includes-cpp.py
+++ b/test/SWIG/recursive-includes-cpp.py
@@ -30,7 +30,6 @@ in cases of recursive inclusion.
"""
import os
-import sys
import TestSCons
from SCons.Defaults import DefaultEnvironment
@@ -38,9 +37,6 @@ DefaultEnvironment( tools = [ 'swig' ] )
test = TestSCons.TestSCons()
-if sys.platform == 'win32':
- test.skip_test('test not setup for windows, skipping test')
-
# Check for prerequisites of this test.
for pre_req in ['swig', 'python']:
if not test.where_is(pre_req):
@@ -86,7 +82,7 @@ if sys.platform == 'darwin':
env['LIBS']=['python%d.%d'%(sys.version_info[0],sys.version_info[1])]
env.SharedLibrary(
- 'mod.so',
+ 'mod',
[
"mod.i",
"main.c",