From 4296fe52a37736b7533b3bf447b29ad7933a3ab4 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sat, 24 Nov 2012 19:18:45 +0000 Subject: New test framework, lots of tests git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1775 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- test/xpm-roundtrip.test | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 test/xpm-roundtrip.test (limited to 'test/xpm-roundtrip.test') diff --git a/test/xpm-roundtrip.test b/test/xpm-roundtrip.test new file mode 100755 index 00000000..310022cc --- /dev/null +++ b/test/xpm-roundtrip.test @@ -0,0 +1,8 @@ +#! /bin/bash +# This script tests: ppmtoxpm xpmtoppm +# Also requires: pgmtopbm ppmtopgm + +#${PBM_TESTPREFIX}ppmtoxpm -hexonly testimg.ppm | \ +# ${PBM_TESTPREFIX}xpmtoppm | cksum +${PBM_TESTPREFIX}ppmtoxpm testgrid.pbm | ${PBM_TESTPREFIX}xpmtoppm | \ + ${PBM_BINPREFIX}ppmtopgm | ${PBM_BINPREFIX}pgmtopbm -th -value=0.5 | cksum -- cgit 1.4.1