diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2016-01-30 02:43:06 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2016-01-30 02:43:06 +0000 |
commit | d23a0009b2463ce8bdb13bc1bf2c4efc29d82c89 (patch) | |
tree | 467f2171ccd0133cd5cf24798bc484edf629fb36 /test | |
parent | 62c1ea4a1863d1cf3b83b76088a0ff323c68220c (diff) | |
download | netpbm-mirror-d23a0009b2463ce8bdb13bc1bf2c4efc29d82c89.tar.gz netpbm-mirror-d23a0009b2463ce8bdb13bc1bf2c4efc29d82c89.tar.xz netpbm-mirror-d23a0009b2463ce8bdb13bc1bf2c4efc29d82c89.zip |
Use -machine in Pnmpsnr tests
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2677 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test')
-rw-r--r-- | test/pnmpsnr.ok | 6 | ||||
-rwxr-xr-x | test/pnmpsnr.test | 8 |
2 files changed, 8 insertions, 6 deletions
diff --git a/test/pnmpsnr.ok b/test/pnmpsnr.ok index b303cc9d..4c7eccde 100644 --- a/test/pnmpsnr.ok +++ b/test/pnmpsnr.ok @@ -1,2 +1,4 @@ -0.00 dB -no difference +0.00 +inf +1000.00 +300.00 300.00 300.00 diff --git a/test/pnmpsnr.test b/test/pnmpsnr.test index 3e7408ec..c7591983 100755 --- a/test/pnmpsnr.test +++ b/test/pnmpsnr.test @@ -12,9 +12,9 @@ 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 testimg.ppm testimg.ppm -machine -max=300 rm ${b_pbm} ${w_pbm} |