about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2016-03-15 17:56:52 +0100
committerSimon Sapin <simon.sapin@exyr.org>2016-03-15 17:59:01 +0100
commitd23fd711eb1af9ba505e239552fd691c32807a31 (patch)
treee18b34a1a82dc70814cb799b1e8d50e5a3530896
parentbbb45c41df722a79efd7596c012ab6ba9c470b49 (diff)
downloadrust-d23fd711eb1af9ba505e239552fd691c32807a31.tar.gz
rust-d23fd711eb1af9ba505e239552fd691c32807a31.zip
Add a test for --quiet in test harness.
-rw-r--r--src/test/run-make/test-harness/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/run-make/test-harness/Makefile b/src/test/run-make/test-harness/Makefile
index 4517af8e24b..fc9b65c47a9 100644
--- a/src/test/run-make/test-harness/Makefile
+++ b/src/test/run-make/test-harness/Makefile
@@ -5,3 +5,5 @@ all:
 	$(RUSTC) --test test-ignore-cfg.rs --cfg ignorecfg
 	$(call RUN,test-ignore-cfg) | grep 'shouldnotignore ... ok'
 	$(call RUN,test-ignore-cfg) | grep 'shouldignore ... ignored'
+	$(call RUN,test-ignore-cfg --quiet) | grep "^i\.$$"
+	$(call RUN,test-ignore-cfg --quiet) | grep -v 'should'