[cairo-commit] test/Makefile.am
Chris Wilson
ickle at kemper.freedesktop.org
Sat Apr 5 04:58:54 PDT 2008
test/Makefile.am | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
New commits:
commit 93536bf3ac251d17c4d8630cad93c37b0d4a8326
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Sat Apr 5 09:31:22 2008 +0100
[test] Summarise failures per backend.
Enhance the test failure summary to list the tests that failed per
backend.
diff --git a/test/Makefile.am b/test/Makefile.am
index a6f0bd9..c1d2e36 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -728,7 +728,8 @@ check-local:
echo; \
for s in `grep -e '\<FAIL\>' $$t.log | sed -e 's/.*TARGET: \([^ ]*\).*/\1/' | sort | uniq`; do \
eval ss=`echo $$s | tr '-' '_'`; \
- eval $$ss=$$[$$ss + 1]; \
+ eval tt=`echo $$t | tr '-' '_'`; \
+ eval $$ss=\""$${!ss} $$tt"\"; \
echo $$surfaces | grep $$ss >/dev/null || surfaces="$$surfaces $$ss"; \
done; \
done; \
@@ -737,10 +738,17 @@ check-local:
for s in $$surfaces; do \
eval ss=`echo $$s | tr '_' '-'`; \
test -n "$$first" && echo -n ", "; \
- echo -n "$$ss: $$[$$s + 0]"; \
+ cnt=`echo $${!s} | wc -w`; \
+ echo -n "$$ss: $$cnt"; \
first="false"; \
done; \
echo "."; \
+ for s in $$surfaces; do \
+ eval ss=`echo $$s | tr '_' '-'`; \
+ cnt=`echo $${!s} | wc -w`; \
+ echo -n " $$ss [$$cnt]: "; \
+ echo $${!s} | tr '_' '-'; \
+ done; \
fi
check_PROGRAMS =
More information about the cairo-commit
mailing list