diff options
author | Gary Oberbrunner <garyo@oberbrunner.com> | 2012-12-22 20:24:43 (GMT) |
---|---|---|
committer | Gary Oberbrunner <garyo@oberbrunner.com> | 2012-12-22 20:24:43 (GMT) |
commit | a3039311bd6b79c49d9f137ca5e7043ef50f8a77 (patch) | |
tree | 0e9aa88347e63a0bcbd8ad5ddbeab875f65ff82e /test | |
parent | 121bb2f745edeb13139ee512c6a5ea402c4d17e6 (diff) | |
download | SCons-a3039311bd6b79c49d9f137ca5e7043ef50f8a77.zip SCons-a3039311bd6b79c49d9f137ca5e7043ef50f8a77.tar.gz SCons-a3039311bd6b79c49d9f137ca5e7043ef50f8a77.tar.bz2 |
Fix SHLINKCOMSTR test rot
Diffstat (limited to 'test')
-rw-r--r-- | test/LINK/SHLINKCOMSTR.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/LINK/SHLINKCOMSTR.py b/test/LINK/SHLINKCOMSTR.py index de56c2c..db40732 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() |