mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-16 23:38:06 +02:00
test: Fix check-ref-missing
ce3806510f changed the format of
Makefile.refs, breaking the check-ref-missing target.
Ignoring any line not containing a .png file fixes check-ref-missing
and makes it more robust.
This commit is contained in:
parent
ce3806510f
commit
a6d4d840d3
1 changed files with 1 additions and 1 deletions
|
|
@ -450,7 +450,7 @@ check-ref-missing:
|
|||
@cd "$(srcdir)"; \
|
||||
LANG=C; \
|
||||
ret=true; \
|
||||
tail -n+2 Makefile.refs | sed 's/\\$$//' | sed 's/^\t//' | sed 's/ $$//' > ref.list; \
|
||||
grep '\.png \\$$' Makefile.refs | sed 's/ \\$$//' | tr -d '\t' > ref.list; \
|
||||
if ! (find . -name '*.ref.png' ; find . -name '*.xfail.png' ; find . -name '*.new.png' ) \
|
||||
| cut -d/ -f2- | sort | diff -u ref.list - ; then \
|
||||
echo "*** Error: Sanity check failed"; \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue