summaryrefslogtreecommitdiff
path: root/test/Makefile.am
diff options
context:
space:
mode:
authorAndrea Canciani <ranma42@gmail.com>2011-06-25 14:35:38 +0200
committerAndrea Canciani <ranma42@gmail.com>2011-06-25 14:35:38 +0200
commita6d4d840d324de55a973663e5a416751619dc490 (patch)
tree20e736766aeb89fa80aa62d9ae863264cd846e70 /test/Makefile.am
parentce3806510f8a20621f3daf7bd1afb18811fa1e92 (diff)
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.
Diffstat (limited to 'test/Makefile.am')
-rw-r--r--test/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index a96d6a51..14c16b03 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"; \