[FFmpeg-cvslog] crc: add fate test

Mans Rullgard git at videolan.org
Mon Jul 4 00:53:47 CEST 2011


ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Sun Jul  3 16:12:51 2011 +0100| [14376a53b20bed4463a0998dfd25012f8a927838] | committer: Mans Rullgard

crc: add fate test

Signed-off-by: Mans Rullgard <mans at mansr.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=14376a53b20bed4463a0998dfd25012f8a927838
---

 tests/fate/libavutil.mak |    4 ++++
 tests/ref/fate/crc       |    4 ++++
 2 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/tests/fate/libavutil.mak b/tests/fate/libavutil.mak
index 2f394ec..9fdd450 100644
--- a/tests/fate/libavutil.mak
+++ b/tests/fate/libavutil.mak
@@ -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
index 0000000..4a82680
--- /dev/null
+++ b/tests/ref/fate/crc
@@ -0,0 +1,4 @@
+crc EDB88320 =3D5CDD04
+crc 04C11DB7 =E0BAF5C0
+crc 00008005 =BB1F
+crc 00000007 =E3



More information about the ffmpeg-cvslog mailing list