Commits

Rob Managan  committed 71d6fa1

Add a test to show that we can build when the link already exist

  • Participants
  • Parent commits e12adc6

Comments (0)

Files changed (1)

File test/LINK/VersionedLib.py

 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 ;
+}
+""")
+
+print test.run()
+
 test.run(arguments = '-c')
 
 for f in files: