cairo/test/generate_refs.sh
Chris Wilson 768d39f034 test: Move all the reference images to their own directory
With over two thousand references images now, it is starting to make the
test directory look cluttered!

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-09-15 14:05:10 +01:00

12 lines
338 B
Bash
Executable file

#!/bin/bash
# A very simple script. But sufficient, hopefully, for our current purposes.
cat <<EOF
# Note REFERENCE_IMAGES must be in lexicographical order.
# Use generate_refs.sh on a git checkout with updated images.
REFERENCE_IMAGES = \\
EOF
git ls-files 'reference/*.ref.png' '*.xfail.png' | sed 's/\(.*\)/ \1 \\/'
echo ' $(NULL)'