summaryrefslogtreecommitdiffstats
path: root/test/MSVC
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2011-05-17 16:11:41 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2011-05-17 16:11:41 (GMT)
commitcef1da85a67da15d66d410215f5c5d64619d361c (patch)
tree33f05e39cd3a3bc77130e77e6990f57add1457e0 /test/MSVC
parente50a61e499e80ce85376484da6d9eff0787342a6 (diff)
downloadSCons-cef1da85a67da15d66d410215f5c5d64619d361c.zip
SCons-cef1da85a67da15d66d410215f5c5d64619d361c.tar.gz
SCons-cef1da85a67da15d66d410215f5c5d64619d361c.tar.bz2
Fix bug 2722 - get rid of warnings about missing MSVC, now will only be shown if the SCONS_MSCOMMON_DEBUG environment variable is set. Also partial fix for 2661.src/engine/SCons/Tool/MSCommon/vc.py
Diffstat (limited to 'test/MSVC')
-rw-r--r--test/MSVC/embed-manifest.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/MSVC/embed-manifest.py b/test/MSVC/embed-manifest.py
index a5a906e..9fd4460 100644
--- a/test/MSVC/embed-manifest.py
+++ b/test/MSVC/embed-manifest.py
@@ -67,7 +67,18 @@ main(int argc, char *argv)
""")
test.write('testdll.cpp', """\
+#include <stdio.h>
+#include <stdlib.h>
int i;
+int
+testdll(int argc, char *argv)
+{
+ printf("testdll.cpp\\n");
+ if (0)
+ exit (0);
+ else
+ return 0;
+}
""")
test.run(arguments = '.')