summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Oberbrunner <garyo@oberbrunner.com>2012-12-22 15:24:43 -0500
committerGary Oberbrunner <garyo@oberbrunner.com>2012-12-22 15:24:43 -0500
commitd6ea936cf24a7e59dd3fbd1fa3cbd0600f41bec2 (patch)
tree19a57cb04567f0b1a2cd0f97796b79e78fcb8988
parent96155426117d6908a3936e55b789c5aa046e5e89 (diff)
downloadscons-d6ea936cf24a7e59dd3fbd1fa3cbd0600f41bec2.tar.gz
Fix SHLINKCOMSTR test rot
-rw-r--r--test/LINK/SHLINKCOMSTR.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/LINK/SHLINKCOMSTR.py b/test/LINK/SHLINKCOMSTR.py
index de56c2c8..db407324 100644
--- a/test/LINK/SHLINKCOMSTR.py
+++ b/test/LINK/SHLINKCOMSTR.py
@@ -98,14 +98,14 @@ if sys.platform == "win32":
# resets the link actions, this could fail even if the above
# test passed.
test.write('SConstruct', """
- env = Environment(CXXCOMSTR = 'Compiling $TARGET ...',
- SHLINKCOMSTR = 'Shared-Linking $TARGET ...')
- env.SharedLibrary('test', 'test.cpp')
- """)
+env = Environment(CXXCOMSTR = 'Compiling $TARGET ...',
+ SHLINKCOMSTR = 'Shared-Linking $TARGET ...')
+env.SharedLibrary('test', 'test.cpp')
+""")
test.write('test.cpp', """
- int i;
- """)
-
+int i;
+""")
+
test.run()
if ("Shared-Linking" not in test.stdout()):
test.fail_test()