From a6d4d840d324de55a973663e5a416751619dc490 Mon Sep 17 00:00:00 2001 From: Andrea Canciani Date: Sat, 25 Jun 2011 14:35:38 +0200 Subject: [PATCH] test: Fix check-ref-missing ce3806510f8a20621f3daf7bd1afb18811fa1e92 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. --- test/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Makefile.am b/test/Makefile.am index a96d6a51d..14c16b03d 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -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"; \