summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-09-09 20:55:45 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-09-09 20:55:45 (EDT)
commit522b123c778dd8ce1485e62b38001ddefca4cd7c (patch)
tree887ef02f417cba8b6b873d30ad9da8e7e3bd4f03 /tests
parentcdb24dc9ed19720dc7cf3cd054762bacf446eeff (diff)
Highlight test results banner.
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.in13
1 files changed, 12 insertions, 1 deletions
diff --git a/tests/Makefile.in b/tests/Makefile.in
index 71c077d..c3040ff 100644
--- a/tests/Makefile.in
+++ b/tests/Makefile.in
@@ -39,5 +39,16 @@ test:
fi; \
all=$$(($$all + 1)); \
done; \
- printf '%d out of %d tests failed\n' $${failed} $${all}; \
+ banner="$$(printf '%d out of %d tests failed' $${failed} $${all})"; \
+ l=$$(echo "$${banner}" | wc -c); \
+ i=1; while [ "$${i}" -lt "$${l}" ]; do \
+ printf '='; \
+ i=$$(($$i + 1)); \
+ done; \
+ printf '\n%s\n' "$${banner}"; \
+ i=1; while [ $${i} -lt $${l} ]; do \
+ printf '='; \
+ i=$$(($$i + 1)); \
+ done; \
+ printf '\n'; \
exit $${failed}