sunrast: Add fate test for gray8.
authorAneesh Dogra <lionaneesh@gmail.com>
Sun, 12 Feb 2012 17:48:49 +0000 (17:48 +0000)
committerJanne Grunau <janne-libav@jannau.net>
Mon, 13 Feb 2012 21:29:22 +0000 (22:29 +0100)
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
tests/fate/image.mak
tests/ref/fate/sunraster-8bit_gray-raw [new file with mode: 0644]

index 1d3dbc1..dc78302 100644 (file)
@@ -16,6 +16,9 @@ fate-sunraster-1bit-rle: CMD = framecrc -i $(SAMPLES)/sunraster/lena-1bit-rle.su
 FATE_SUNRASTER += fate-sunraster-8bit-raw
 fate-sunraster-8bit-raw: CMD = framecrc -i $(SAMPLES)/sunraster/lena-8bit-raw.sun -pix_fmt rgb24
 
+FATE_SUNRASTER += fate-sunraster-8bit_gray-raw
+fate-sunraster-8bit_gray-raw: CMD = framecrc -i $(SAMPLES)/sunraster/gray.ras
+
 FATE_SUNRASTER += fate-sunraster-8bit-rle
 fate-sunraster-8bit-rle: CMD = framecrc -i $(SAMPLES)/sunraster/lena-8bit-rle.sun -pix_fmt rgb24
 
diff --git a/tests/ref/fate/sunraster-8bit_gray-raw b/tests/ref/fate/sunraster-8bit_gray-raw
new file mode 100644 (file)
index 0000000..455af5f
--- /dev/null
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0,          0,          0,        1,   786432, 0x5859b48e