summaryrefslogtreecommitdiff
path: root/test/option--Q.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-08-22 19:49:49 +0000
committerSteven Knight <knight@baldmt.com>2003-08-22 19:49:49 +0000
commit189d5b4d754cbd7eefde34aef617c4e3adcd8180 (patch)
tree80a6a78ac3aa9f2a049ccb0d77879ffeede66658 /test/option--Q.py
parentd5abaa6ca0d08ac270f6ee2797b791a19d5c8747 (diff)
downloadscons-189d5b4d754cbd7eefde34aef617c4e3adcd8180.tar.gz
-Q options suppresses too much.
Diffstat (limited to 'test/option--Q.py')
-rw-r--r--test/option--Q.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/option--Q.py b/test/option--Q.py
index 5721c42d..4d1a0058 100644
--- a/test/option--Q.py
+++ b/test/option--Q.py
@@ -57,4 +57,12 @@ test.run(arguments = '-Q f1.out f2.out', stdout = """\
test.fail_test(not os.path.exists(test.workpath('f1.out')))
test.fail_test(not os.path.exists(test.workpath('f2.out')))
+# Make sure -q doesn't suppress other messages, too.
+test.run(arguments = '-Q -c f1.out f2.out', stdout = """\
+Removed f1.out
+Removed f2.out
+""")
+test.fail_test(os.path.exists(test.workpath('f1.out')))
+test.fail_test(os.path.exists(test.workpath('f2.out')))
+
test.pass_test()