diff options
author | Gary Oberbrunner <garyo@oberbrunner.com> | 2011-04-24 21:32:20 (GMT) |
---|---|---|
committer | Gary Oberbrunner <garyo@oberbrunner.com> | 2011-04-24 21:32:20 (GMT) |
commit | 479a07af42147d77f3bae4cbb32eae407fb9dc24 (patch) | |
tree | 71aea99f0013fe3365d718df212c67fd474dfc34 /test/MSVC | |
parent | a61777f9fb10310e60a400fe2afe553b9878588a (diff) | |
download | SCons-479a07af42147d77f3bae4cbb32eae407fb9dc24.zip SCons-479a07af42147d77f3bae4cbb32eae407fb9dc24.tar.gz SCons-479a07af42147d77f3bae4cbb32eae407fb9dc24.tar.bz2 |
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 f089b60..fbb3218 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") |