mirror of
https://github.com/librempeg/librempeg
synced 2024-11-21 16:44:05 +00:00
tests/fate-run: Fix pixdesc failure
-u and -q doesn't work together for diff on macOS. Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Zhao Zhili <zhilizhao@tencent.com> Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
f3741f017b
commit
69c79bb32a
@ -519,7 +519,7 @@ pixdesc(){
|
|||||||
$FLAGS $ENC_OPTS -vf "scale,format=$pix_fmt,pixdesctest" -vcodec rawvideo -frames:v 5 \
|
$FLAGS $ENC_OPTS -vf "scale,format=$pix_fmt,pixdesctest" -vcodec rawvideo -frames:v 5 \
|
||||||
"-pix_fmt $pix_fmt" -f nut md5:$md5file2
|
"-pix_fmt $pix_fmt" -f nut md5:$md5file2
|
||||||
|
|
||||||
diff -u -q $md5file1 $md5file2 || return
|
diff -q $md5file1 $md5file2 || return
|
||||||
printf '%-20s' $label
|
printf '%-20s' $label
|
||||||
cat $md5file1
|
cat $md5file1
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user