From 0d9088caedd0e3aa7ee00034e570a5307ad5384f Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Mon, 12 Oct 2015 16:06:16 +0200 Subject: tests: Add a bunch of TGA images These images are buggy, but we load them. So add them as reftests. --- tests/Makefile.am | 3 ++- tests/test-images/reftests/colormap-too-small.tga | Bin 0 -> 2773 bytes .../test-images/reftests/colormap-too-small.tga.ref.png | Bin 0 -> 1417 bytes tests/test-images/reftests/rle-too-many-pixels-2.tga | Bin 0 -> 28 bytes .../reftests/rle-too-many-pixels-2.tga.ref.png | Bin 0 -> 111 bytes tests/test-images/reftests/rle-too-many-pixels.tga | Bin 0 -> 27 bytes .../test-images/reftests/rle-too-many-pixels.tga.ref.png | Bin 0 -> 111 bytes 7 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 tests/test-images/reftests/colormap-too-small.tga create mode 100644 tests/test-images/reftests/colormap-too-small.tga.ref.png create mode 100644 tests/test-images/reftests/rle-too-many-pixels-2.tga create mode 100644 tests/test-images/reftests/rle-too-many-pixels-2.tga.ref.png create mode 100644 tests/test-images/reftests/rle-too-many-pixels.tga create mode 100644 tests/test-images/reftests/rle-too-many-pixels.tga.ref.png diff --git a/tests/Makefile.am b/tests/Makefile.am index 3a46ec7f9..01bb515ea 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -65,7 +65,8 @@ dist_installed_test_data = \ large.jpg \ $(wildcard $(srcdir)/test-images/fail/*) \ $(wildcard $(srcdir)/test-images/randomly-modified/*) \ - $(wildcard $(srcdir)/test-images/reftest/tga/*) \ + $(wildcard $(srcdir)/test-images/reftests/*) \ + $(wildcard $(srcdir)/test-images/reftests/tga/*) \ $(NULL) pixbuf_randomly_modified_SOURCES = \ diff --git a/tests/test-images/reftests/colormap-too-small.tga b/tests/test-images/reftests/colormap-too-small.tga new file mode 100644 index 000000000..09b33855b Binary files /dev/null and b/tests/test-images/reftests/colormap-too-small.tga differ diff --git a/tests/test-images/reftests/colormap-too-small.tga.ref.png b/tests/test-images/reftests/colormap-too-small.tga.ref.png new file mode 100644 index 000000000..a45054f88 Binary files /dev/null and b/tests/test-images/reftests/colormap-too-small.tga.ref.png differ diff --git a/tests/test-images/reftests/rle-too-many-pixels-2.tga b/tests/test-images/reftests/rle-too-many-pixels-2.tga new file mode 100644 index 000000000..650f75dc3 Binary files /dev/null and b/tests/test-images/reftests/rle-too-many-pixels-2.tga differ diff --git a/tests/test-images/reftests/rle-too-many-pixels-2.tga.ref.png b/tests/test-images/reftests/rle-too-many-pixels-2.tga.ref.png new file mode 100644 index 000000000..03009a3c3 Binary files /dev/null and b/tests/test-images/reftests/rle-too-many-pixels-2.tga.ref.png differ diff --git a/tests/test-images/reftests/rle-too-many-pixels.tga b/tests/test-images/reftests/rle-too-many-pixels.tga new file mode 100644 index 000000000..e0c0e5bcb Binary files /dev/null and b/tests/test-images/reftests/rle-too-many-pixels.tga differ diff --git a/tests/test-images/reftests/rle-too-many-pixels.tga.ref.png b/tests/test-images/reftests/rle-too-many-pixels.tga.ref.png new file mode 100644 index 000000000..d56355531 Binary files /dev/null and b/tests/test-images/reftests/rle-too-many-pixels.tga.ref.png differ -- cgit v1.2.1