summaryrefslogtreecommitdiff
path: root/libs/cairo-1.16.0/test/generate_refs.sh
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-10-12 12:03:23 -0500
committersanine <sanine.not@pm.me>2022-10-12 12:03:23 -0500
commit530ffd0b7d3c39757b20f00716e486b5caf89aff (patch)
tree76b35fdf57317038acf6b828871f6ae25fce2ebe /libs/cairo-1.16.0/test/generate_refs.sh
parent3dbe9332e47c143a237db12440f134caebd1cfbe (diff)
add cairo
Diffstat (limited to 'libs/cairo-1.16.0/test/generate_refs.sh')
-rwxr-xr-xlibs/cairo-1.16.0/test/generate_refs.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/libs/cairo-1.16.0/test/generate_refs.sh b/libs/cairo-1.16.0/test/generate_refs.sh
new file mode 100755
index 0000000..e22aa25
--- /dev/null
+++ b/libs/cairo-1.16.0/test/generate_refs.sh
@@ -0,0 +1,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)'