diff options
author | Gary Oberbrunner <garyo@oberbrunner.com> | 2013-08-25 13:52:17 (GMT) |
---|---|---|
committer | Gary Oberbrunner <garyo@oberbrunner.com> | 2013-08-25 13:52:17 (GMT) |
commit | 7ab739749c14c44f48e526ec7756870006155639 (patch) | |
tree | c90a8a0eb1bcc0557a3cabca03b6fe3e13c43b95 /test | |
parent | d9ee0920aa8f861e326ffb8278661de58dacbac8 (diff) | |
parent | 0e60308e51dbb9f285737c3375dfd24260babb06 (diff) | |
download | SCons-7ab739749c14c44f48e526ec7756870006155639.zip SCons-7ab739749c14c44f48e526ec7756870006155639.tar.gz SCons-7ab739749c14c44f48e526ec7756870006155639.tar.bz2 |
Merged in managan/scons_versionedlib (pull request #82)
Versioned lib rebuild was broken
Diffstat (limited to 'test')
-rw-r--r-- | test/LINK/VersionedLib.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/LINK/VersionedLib.py b/test/LINK/VersionedLib.py index 3c92252..a2345d6 100644 --- a/test/LINK/VersionedLib.py +++ b/test/LINK/VersionedLib.py @@ -135,6 +135,19 @@ for f in files: for f in instfiles:
test.must_exist(['installtest', f])
+# modify test.c and make sure it can recompile when links already exist
+test.write('test.c', """\
+#if _WIN32
+__declspec(dllexport)
+#endif
+int testlib(int n)
+{
+return n+11 ;
+}
+""")
+
+test.run()
+
test.run(arguments = '-c')
for f in files:
|