From 7a2b429175d9252c3a156e8f6795d5c6b85f07f1 Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Sun, 3 Jun 2012 19:00:22 +0200 Subject: [PATCH] fate: add bprint test. --- tests/fate/libavutil.mak | 4 ++++ tests/ref/fate/bprint | 14 ++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 tests/ref/fate/bprint diff --git a/tests/fate/libavutil.mak b/tests/fate/libavutil.mak index 343d456386..e9bced8e3b 100644 --- a/tests/fate/libavutil.mak +++ b/tests/fate/libavutil.mak @@ -12,6 +12,10 @@ FATE_LIBAVUTIL += fate-base64 fate-base64: libavutil/base64-test$(EXESUF) fate-base64: CMD = run libavutil/base64-test +FATE_LIBAVUTIL += fate-bprint +fate-bprint: libavutil/bprint-test$(EXESUF) +fate-bprint: CMD = run libavutil/bprint-test + FATE_LIBAVUTIL += fate-crc fate-crc: libavutil/crc-test$(EXESUF) fate-crc: CMD = run libavutil/crc-test diff --git a/tests/ref/fate/bprint b/tests/ref/fate/bprint new file mode 100644 index 0000000000..bc888dab4d --- /dev/null +++ b/tests/ref/fate/bprint @@ -0,0 +1,14 @@ +Short text in unlimited buffer: 174/174 + 1 + 1 1 + 1 2 1 + 1 3 3 1 + 1 4 6 4 1 + 1 5 10 10 5 1 + +Long text in unlimited buffer: 2834/2834 +Long text in limited buffer: 2047/2834 +Short text in automatic buffer: 174/174 +Long text in automatic buffer: 1003/2834 +Long text count only buffer: 0/2834 +Long text count only buffer: 255/2834