diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2019-09-28 19:34:22 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2019-09-28 19:34:22 +0000 |
commit | 860faaae6a58e83623b9620dc0e0f36f3126b251 (patch) | |
tree | e09259abd808ac7e9a4c2494e1ccefa0d08ef991 /test/ps-alt-roundtrip.test | |
parent | 2b499210eb2a64c95e6891a8d361b38a8502e063 (diff) | |
download | netpbm-mirror-860faaae6a58e83623b9620dc0e0f36f3126b251.tar.gz netpbm-mirror-860faaae6a58e83623b9620dc0e0f36f3126b251.tar.xz netpbm-mirror-860faaae6a58e83623b9620dc0e0f36f3126b251.zip |
Promote Development to Advanced
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@3691 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/ps-alt-roundtrip.test')
-rwxr-xr-x | test/ps-alt-roundtrip.test | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/test/ps-alt-roundtrip.test b/test/ps-alt-roundtrip.test index d90c4ddb..af7f7222 100755 --- a/test/ps-alt-roundtrip.test +++ b/test/ps-alt-roundtrip.test @@ -1,5 +1,5 @@ #! /bin/bash -# This script tests: pbmtoepsi pbmtopsg3 pbmtolps psidtopgm pstopnm +# This script tests: pbmtoepsi pbmtopsg3 psidtopgm pstopnm # Also requires: gs pnmcrop @@ -10,12 +10,15 @@ # We keep these tests separate from those for pnmtops and pstopnm # which are far more popular. # -# pbmtopsg3 and pbmtolps produce output that require pstopnm for decoding. +# pbmtopsg3 produces output that requires pstopnm for decoding. +# +# We used to test pbmtolps here, but moved it out when gs changed its +# rendering formula. # # Failure message ## If ps-roundtrip.test succeeds and this test fails, it is most likely ## a problem with one of the alternate Postscipt utilities: -## pbmtoepsi, pbmtopsg3, pbmtolps or psidtopgm. +## pbmtoepsi, pbmtopsg3, or psidtopgm. ## If both tests fail it indicates a problem with pstopnm or gs. # pstopnm does not use libnetpbm functions for output. @@ -33,18 +36,8 @@ pstopnm -xborder=0 -yborder=0 -llx=0 -lly=-16 -urx=14 \ rm ${testgrid1_ps} -# Test 2. Should print: 2425386270 41 -testgrid2_ps=${tmpdir}/testgrid2.ps - -pbmtolps -dpi 72 testgrid.pbm \ - > ${testgrid2_ps} && \ -pstopnm -xborder=0 -yborder=0 -dpi=72 -stdout \ - -quiet ${testgrid2_ps} -pbm | \ - pnmcrop | cksum - -rm ${testgrid2_ps} -# Test 3. Should print: 2916080186 235 +# Test 2. Should print: 2916080186 235 # Output is pgm maxval=1 with black and white inverted. # testgrid_epsi=${tmpdir}/testgrid.epsi |