summaryrefslogtreecommitdiff
path: root/tests/fate-run.sh
diff options
context:
space:
mode:
authorBurt P <pburt0@gmail.com>2016-07-14 12:54:34 -0500
committerMichael Niedermayer <michael@niedermayer.cc>2016-07-27 22:21:43 +0200
commitbfe9155aee1c8d0226b839204f21e231dcd01edd (patch)
tree3414ac9ba769aba761c2f797c8e7a1bae15c81bb /tests/fate-run.sh
parent8385e1718ee1fed107ec911d0b17fed3f7d74c71 (diff)
fate: Add HDCD filter tests for false positive and error detection
Signed-off-by: Burt P <pburt0@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tests/fate-run.sh')
-rwxr-xr-xtests/fate-run.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index c898695033..5841b0c413 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -328,13 +328,14 @@ if [ $err -gt 128 ]; then
test "${sig}" = "${sig%[!A-Za-z]*}" || unset sig
fi
-if test -e "$ref" || test $cmp = "oneline" ; then
+if test -e "$ref" || test $cmp = "oneline" || test $cmp = "grep" ; then
case $cmp in
diff) diff -u -b "$ref" "$outfile" >$cmpfile ;;
rawdiff)diff -u "$ref" "$outfile" >$cmpfile ;;
oneoff) oneoff "$ref" "$outfile" >$cmpfile ;;
stddev) stddev "$ref" "$outfile" >$cmpfile ;;
oneline)oneline "$ref" "$outfile" >$cmpfile ;;
+ grep) grep "$ref" "$errfile" >$cmpfile ;;
null) cat "$outfile" >$cmpfile ;;
esac
cmperr=$?