diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2012-06-03 21:00:22 +0400 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2012-06-08 00:28:32 +0400 |
commit | 7a2b429175d9252c3a156e8f6795d5c6b85f07f1 (patch) | |
tree | aed2505881d9f5decb13591820c12063652d1e88 /tests | |
parent | b3e2bb08a99a81bac672f6ba3958ca175bf06007 (diff) |
fate: add bprint test.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/fate/libavutil.mak | 4 | ||||
-rw-r--r-- | tests/ref/fate/bprint | 14 |
2 files changed, 18 insertions, 0 deletions
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 |