OSDN Git Service

crc: add fate test
authorMans Rullgard <mans@mansr.com>
Sun, 3 Jul 2011 15:12:51 +0000 (16:12 +0100)
committerMans Rullgard <mans@mansr.com>
Sun, 3 Jul 2011 16:17:54 +0000 (17:17 +0100)
Signed-off-by: Mans Rullgard <mans@mansr.com>
tests/fate/libavutil.mak
tests/ref/fate/crc [new file with mode: 0644]

index 2f394ec..9fdd450 100644 (file)
@@ -12,6 +12,10 @@ FATE_TESTS += fate-base64
 fate-base64: libavutil/base64-test$(EXESUF)
 fate-base64: CMD = run libavutil/base64-test
 
+FATE_TESTS += fate-crc
+fate-crc: libavutil/crc-test$(EXESUF)
+fate-crc: CMD = run libavutil/crc-test
+
 FATE_TESTS += fate-des
 fate-des: libavutil/des-test$(EXESUF)
 fate-des: CMD = run libavutil/des-test
diff --git a/tests/ref/fate/crc b/tests/ref/fate/crc
new file mode 100644 (file)
index 0000000..4a82680
--- /dev/null
@@ -0,0 +1,4 @@
+crc EDB88320 =3D5CDD04
+crc 04C11DB7 =E0BAF5C0
+crc 00008005 =BB1F
+crc 00000007 =E3