about summary refs log tree commit diff
path: root/test/yuv-roundtrip.test
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2012-12-12 03:43:47 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2012-12-12 03:43:47 +0000
commitccfc548cc8507b16397f674cbb0a8911781e27b4 (patch)
treec944ab1e10abc33fb12cc479dabe0708bbbf224e /test/yuv-roundtrip.test
parenta72930bd1433b10c43def3be55c02c53264b4a43 (diff)
downloadnetpbm-mirror-ccfc548cc8507b16397f674cbb0a8911781e27b4.tar.gz
netpbm-mirror-ccfc548cc8507b16397f674cbb0a8911781e27b4.tar.xz
netpbm-mirror-ccfc548cc8507b16397f674cbb0a8911781e27b4.zip
various changes to test facility
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1806 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/yuv-roundtrip.test')
-rwxr-xr-xtest/yuv-roundtrip.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/yuv-roundtrip.test b/test/yuv-roundtrip.test
new file mode 100755
index 00000000..c160c480
--- /dev/null
+++ b/test/yuv-roundtrip.test
@@ -0,0 +1,8 @@
+#! /bin/bash
+# This script tests: ppmtoyuv yuvtoppm
+# Also requires: pamgradient
+
+# Should produce 1904478375 253455
+
+${PBM_BINPREFIX}pamgradient cyan yellow red green 352 240 | \
+    ${PBM_TESTPREFIX}ppmtoyuv | ${PBM_TESTPREFIX}yuvtoppm 352 240 | cksum