Skip to content

Commit 6236f7d

Browse files
committed
Fix compare command
1 parent 86819bd commit 6236f7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/check-image-decoding.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
continue
5151
else
5252
orig=$(cat Makefile | grep "^${file}" | sed "s/^${file}: \(.*\)$/\1/")
53-
score=$(compare -metric PSNR "${orig}" "decoded/${file}.png")
53+
score=$(compare -metric PSNR "${orig}" "decoded/${file}.png" NULL: 2>&1)
5454
echo " * ${file}: ${score}"
5555
if test $(echo "${score} >= 30.0" | bc -l) -eq 0; then
5656
exit -1

0 commit comments

Comments
 (0)