diff options
author | Gary Oberbrunner <garyo@oberbrunner.com> | 2011-04-24 21:32:20 +0000 |
---|---|---|
committer | Gary Oberbrunner <garyo@oberbrunner.com> | 2011-04-24 21:32:20 +0000 |
commit | 0dbdd137355656705e184722b01d920f06ec10b6 (patch) | |
tree | 71aea99f0013fe3365d718df212c67fd474dfc34 /test/MSVC | |
parent | 7dd60e2f36a88d71ac7a58152b60f70f7b76dee9 (diff) | |
download | scons-0dbdd137355656705e184722b01d920f06ec10b6.tar.gz |
Fix issue 2627: MSVC_BATCH=False should turn off batch, not turn it on.
Diffstat (limited to 'test/MSVC')
-rw-r--r-- | test/MSVC/batch.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/MSVC/batch.py b/test/MSVC/batch.py index f089b605..fbb32180 100644 --- a/test/MSVC/batch.py +++ b/test/MSVC/batch.py @@ -132,6 +132,19 @@ test.must_match('fake_cl.log', """\ /Foprog.obj prog.c """) +test.run(arguments = '-c .') +test.unlink('fake_cl.log') + + +test.run(arguments = '. MSVC_BATCH=False') + +test.must_match('prog.exe', "prog.c\nf1.c 2\nf2.c\n") +test.must_match('fake_cl.log', """\ +/Fof1.obj f1.c +/Fof2.obj f2.c +/Foprog.obj prog.c +""") + test.write('f1.c', "f1.c 3\n") |