diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2014-06-27 02:16:16 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2014-06-27 02:16:16 +0000 |
commit | d8c975346820b567a383e71c20d61c37be5887c7 (patch) | |
tree | 65cdb91607b201157d642892652f061c23bdc516 /test/pamflip2.test | |
parent | 0e4c9ca7ebc9f1f449b15e9d71ee3de13e8488e5 (diff) | |
download | netpbm-mirror-d8c975346820b567a383e71c20d61c37be5887c7.tar.gz netpbm-mirror-d8c975346820b567a383e71c20d61c37be5887c7.tar.xz netpbm-mirror-d8c975346820b567a383e71c20d61c37be5887c7.zip |
Split Pamflip PBM tests from others to isolate possible SSE problems
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2215 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/pamflip2.test')
-rw-r--r-- | test/pamflip2.test | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/pamflip2.test b/test/pamflip2.test new file mode 100644 index 00000000..d9418b25 --- /dev/null +++ b/test/pamflip2.test @@ -0,0 +1,19 @@ +#! /bin/bash +# This script tests: pamflip +# Also requires: + + alias pamflip="${PBM_TESTPREFIX}pamflip" + shopt -s expand_aliases + +# Failure message +## Failure with this test indicates a problem with pamflip transpositions +## (90 degree flips) when input is PBM. This operation is done by an +## optional SSE routine. If you make a wrong choice during configure, +## this test will fail. + +# Test 1. Should print 490797850 37 +pamflip -cw testgrid.pbm | cksum +# Test 1. Should print 3727293411 37 +pamflip -ccw testgrid.pbm | cksum +# Test 2. Should print 3511745816 37 +pamflip -xy testgrid.pbm | cksum |