summaryrefslogtreecommitdiff
path: root/tests/fate-run.sh
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-07-04 00:56:38 +0100
committerMans Rullgard <mans@mansr.com>2011-07-04 09:54:16 +0100
commit84757de0f5b32b2e7dab52b4409fcb99c3e8f65b (patch)
tree46850b7ca4f9c1c66d7a7fa0b3b7cacafd176ffd /tests/fate-run.sh
parent7fd2c138880c61b646090475c90a5607fcd7ddc8 (diff)
downloadffmpeg-84757de0f5b32b2e7dab52b4409fcb99c3e8f65b.tar.gz
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@mansr.com>
Diffstat (limited to 'tests/fate-run.sh')
-rwxr-xr-xtests/fate-run.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index 2c744b880f..10497c497e 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