summaryrefslogtreecommitdiffstats
path: root/test/SharedLibrary.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2006-01-21 19:01:06 (GMT)
committerSteven Knight <knight@baldmt.com>2006-01-21 19:01:06 (GMT)
commit6fdb91f7abaaf0823070d17c8afcde6ca35d3549 (patch)
tree6923c674148af3f821725a49e3dbc194658d4257 /test/SharedLibrary.py
parent9e51adb1a538111d3661e07e04ecc112370ab6f2 (diff)
downloadSCons-6fdb91f7abaaf0823070d17c8afcde6ca35d3549.zip
SCons-6fdb91f7abaaf0823070d17c8afcde6ca35d3549.tar.gz
SCons-6fdb91f7abaaf0823070d17c8afcde6ca35d3549.tar.bz2
Eliminate unnecessary WIN32/Win32/win32 references in tests, too.
Diffstat (limited to 'test/SharedLibrary.py')
-rw-r--r--test/SharedLibrary.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/SharedLibrary.py b/test/SharedLibrary.py
index 72f8770..d9b0350 100644
--- a/test/SharedLibrary.py
+++ b/test/SharedLibrary.py
@@ -35,7 +35,7 @@ test = TestSCons.TestSCons()
test.write('SConstruct', """
import sys
-env=Environment(WIN32_INSERT_DEF=1)
+env=Environment(WINDOWS_INSERT_DEF=1)
env2 = Environment(LIBS = [ 'foo1', 'foo2', 'foo3' ],
LIBPATH = [ '.' ])
env.SharedLibrary(target = 'foo1', source = 'f1.c')
@@ -45,7 +45,7 @@ else:
env.StaticLibrary(target = 'foo1', source = 'f1.c')
SharedLibrary(target = 'foo2',
source = Split('f2a.c f2b.c f2c.c'),
- WIN32_INSERT_DEF = 1)
+ WINDOWS_INSERT_DEF = 1)
env.SharedLibrary(target = 'foo3', source = ['f3a.c', 'f3b.c', 'f3c.c'])
env2.Program(target = 'prog', source = 'prog.c')
""")
@@ -223,11 +223,11 @@ test.run(arguments = '-f SConstructFoo2',
if sys.platform == 'win32':
# Make sure we don't insert a .def source file (when
- # WIN32_INSERT_DEF is set) and a .lib target file if
+ # WINDOWS_INSERT_DEF is set) and a .lib target file if
# they're specified explicitly.
test.write('SConstructBar', '''
-env = Environment(WIN32_INSERT_DEF=1)
+env = Environment(WINDOWS_INSERT_DEF=1)
env2 = Environment(LIBS = [ 'foo4' ],
LIBPATH = [ '.' ])
env.SharedLibrary(target = ['foo4', 'foo4.lib'], source = ['f4.c', 'foo4.def'])