summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGary Oberbrunner <garyo@oberbrunner.com>2013-08-25 13:52:17 (GMT)
committerGary Oberbrunner <garyo@oberbrunner.com>2013-08-25 13:52:17 (GMT)
commit7ab739749c14c44f48e526ec7756870006155639 (patch)
treec90a8a0eb1bcc0557a3cabca03b6fe3e13c43b95 /test
parentd9ee0920aa8f861e326ffb8278661de58dacbac8 (diff)
parent0e60308e51dbb9f285737c3375dfd24260babb06 (diff)
downloadSCons-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.py13
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: