about summary refs log tree commit diff
path: root/test/ppmcie.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/ppmcie.test')
-rwxr-xr-xtest/ppmcie.test20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/ppmcie.test b/test/ppmcie.test
new file mode 100755
index 00000000..cd84536a
--- /dev/null
+++ b/test/ppmcie.test
@@ -0,0 +1,20 @@
+#! /bin/bash
+# This script tests: ppmcie
+# Also requires: 
+
+# Test 1. Should print 955840041 786447
+# Without -nolabel -noaxes -nowpoint -noblack older versions of
+# Netpbm produce slightly different charts.
+# Output from "ppmcie | cksum" :
+# v. 10.35.86: 288356530 786447   
+# v. 10.59.2 : 2292601420 786447  
+#
+# This test fails when ppmcie is compiled with SSE features are turned on.
+# Note that Gcc turns on SSE,SSE2 on by default for x86-64.
+
+# v. 10.59.2
+# x86 32 bit: 955840041 786447
+# x86 64 bit: 4208660683 786447
+
+${PBM_TESTPREFIX}ppmcie -nolabel -noaxes -nowpoint -noblack  | cksum
+