You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
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>
This commit is contained in:
@@ -123,6 +123,7 @@ if test -e "$ref"; then
|
|||||||
diff) diff -u -w "$ref" "$outfile" >$cmpfile ;;
|
diff) diff -u -w "$ref" "$outfile" >$cmpfile ;;
|
||||||
oneoff) oneoff "$ref" "$outfile" "$fuzz" >$cmpfile ;;
|
oneoff) oneoff "$ref" "$outfile" "$fuzz" >$cmpfile ;;
|
||||||
stddev) stddev "$ref" "$outfile" "$fuzz" >$cmpfile ;;
|
stddev) stddev "$ref" "$outfile" "$fuzz" >$cmpfile ;;
|
||||||
|
null) cat "$outfile" >$cmpfile ;;
|
||||||
esac
|
esac
|
||||||
cmperr=$?
|
cmperr=$?
|
||||||
test $err = 0 && err=$cmperr
|
test $err = 0 && err=$cmperr
|
||||||
|
Reference in New Issue
Block a user