[FFmpeg-cvslog] fate: add 'null' comparison method

Mans Rullgard git at videolan.org
Tue Jul 5 02:52:25 CEST 2011


ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Mon Jul  4 00:56:38 2011 +0100| [84757de0f5b32b2e7dab52b4409fcb99c3e8f65b] | committer: Mans Rullgard

fate: add 'null' comparison method

Setting CMP=null uses stdout from the test as the diff record in
the report without further inspection.  This can be useful when
the exit status of the test itself determines success while the
output is informative.

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

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

 tests/fate-run.sh |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index 2c744b8..10497c4 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -123,6 +123,7 @@ if test -e "$ref"; then
         diff)   diff -u -w "$ref" "$outfile"            >$cmpfile ;;
         oneoff) oneoff     "$ref" "$outfile" "$fuzz"    >$cmpfile ;;
         stddev) stddev     "$ref" "$outfile" "$fuzz"    >$cmpfile ;;
+        null)   cat               "$outfile"            >$cmpfile ;;
     esac
     cmperr=$?
     test $err = 0 && err=$cmperr



More information about the ffmpeg-cvslog mailing list