summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2012-06-24 20:59:44 +0200
committerJay Berkenbilt <ejb@ql.org>2012-06-24 21:20:01 +0200
commit4ef95dbda440e0aeffa26df40cc33d001e77f4c5 (patch)
treeaf688e3cc50b7f0485763b9a5cddc877171f0080 /Makefile
parent2a057ac0d4053d2306f48bc9e89b0dcb1959b9da (diff)
downloadqpdf-4ef95dbda440e0aeffa26df40cc33d001e77f4c5.tar.zst
Suppress showing failed test output by default
Provide option to show test output if requested.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6bff00de..9ea1817b 100644
--- a/Makefile
+++ b/Makefile
@@ -126,7 +126,9 @@ $(TEST_TARGETS):
if TC_SRCS="$(foreach T,$(TC_SRCS_$(subst check_,,$@)),../../$(T))" \
$(QTEST) -bindirs .:.. -datadir ../qtest -covdir ..; then \
true; \
- else \
+ elif test "$(SHOW_FAILED_TEST_OUTPUT)" = "1"; then \
cat -v qtest.log; \
false; \
+ else \
+ false; \
fi)