summaryrefslogtreecommitdiff
path: root/libs/cairo-1.16.0/test/generate_refs.sh
blob: e22aa25487800d78c4ccf739480ed7e5f6e4cac4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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)'