mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-04 22:18:29 +02:00
[test] Summarise the tests failures per backend.
After the summary, show the total number of failures per backend.
This commit is contained in:
parent
af88d4d9ae
commit
4430157841
1 changed files with 15 additions and 0 deletions
|
|
@ -571,11 +571,26 @@ check-local:
|
|||
done; \
|
||||
if test -n "$$FAILED_TESTS"; then \
|
||||
echo "Failed tests:"; \
|
||||
surfaces=""; \
|
||||
for t in $$FAILED_TESTS; do \
|
||||
echo -n " $$t: "; \
|
||||
grep -e '\<FAIL\>' $$t.log | sed -e 's/.*TARGET: \([^ ]*\).*/\1/' | sort | uniq | tr '\n' ' '; \
|
||||
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]; \
|
||||
echo $$surfaces | grep $$ss >/dev/null || surfaces="$$surfaces $$ss"; \
|
||||
done; \
|
||||
done; \
|
||||
echo -n "Failures per surface - "; \
|
||||
first=""; \
|
||||
for s in $$surfaces; do \
|
||||
eval ss=`echo $$s | tr '_' '-'`; \
|
||||
test -n "$$first" && echo -n ", "; \
|
||||
echo -n "$$ss: $$[$$s + 0]"; \
|
||||
first="false"; \
|
||||
done; \
|
||||
echo "."; \
|
||||
fi
|
||||
|
||||
check_PROGRAMS =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue