diff options
Diffstat (limited to 'test/pnmpsnr.test')
-rwxr-xr-x | test/pnmpsnr.test | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/test/pnmpsnr.test b/test/pnmpsnr.test index 3e7408ec..f24c08aa 100755 --- a/test/pnmpsnr.test +++ b/test/pnmpsnr.test @@ -12,9 +12,12 @@ b_pbm=${tmpdir}/b.pbm pbmmake -w 10 10 > ${w_pbm} pbmmake -b 10 10 > ${b_pbm} -pnmpsnr ${w_pbm} ${b_pbm} 2>&1 | \ - awk '$2=="lumina" {print $(NF-1),$NF}' -pnmpsnr ${w_pbm} ${w_pbm} 2>&1 | \ - awk '$2=="lumina" {print $(NF-1),$NF}' +pnmpsnr ${w_pbm} ${b_pbm} -machine +pnmpsnr ${w_pbm} ${w_pbm} -machine +pnmpsnr ${w_pbm} ${w_pbm} -machine -max=1000 +pnmpsnr ${w_pbm} ${w_pbm} -target=1000 +pnmpsnr testimg.ppm testimg.ppm -machine -max=300 +pnmpsnr testimg.ppm testimg.ppm -target=1000 +pnmpsnr testimg.ppm testimg.ppm -target1=1000 -target2=1000 -target3=1000 rm ${b_pbm} ${w_pbm} |