[cairo-commit] test/Makefile.am
Behdad Esfahbod
behdad at kemper.freedesktop.org
Wed Jan 23 12:07:32 PST 2008
test/Makefile.am | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 21823842775988c0b58e3868dce053544ed246e2
Author: Behdad Esfahbod <behdad at behdad.org>
Date: Wed Jan 23 15:06:52 2008 -0500
[test] Minor fix for check-ref-dups rule
diff --git a/test/Makefile.am b/test/Makefile.am
index 207f6e3..f752fe6 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -712,7 +712,8 @@ index.html: $(srcdir)/make-html.pl $(TESTS:$(EXEEXT)=.log)
# Identify identical reference images
check-ref-dups:
- @( cd "$(scrdir)" && sha1sum *-ref.png ) > ref.hash; \
+ @LANG=C; \
+ ( cd "$(scrdir)" && sha1sum *-ref.png | sort ) > ref.hash; \
join ref.hash ref.hash | grep -v -E '( .*-ref.png).*\1' | cut -d' ' -f 1-2 | sort -u
# Not exactly the best script in the world...
More information about the cairo-commit
mailing list