about summary refs log tree commit diff
path: root/test/pgmcrater.test
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2015-04-01 02:04:11 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2015-04-01 02:04:11 +0000
commitb8baab1ef58b3bbb25caafa9f0d808f503528832 (patch)
tree17c6645d660f197e202bab8e9c6d8b6e25b6c45d /test/pgmcrater.test
parent22a5accc85c58382f3ded1fe7f637488987819c9 (diff)
downloadnetpbm-mirror-b8baab1ef58b3bbb25caafa9f0d808f503528832.tar.gz
netpbm-mirror-b8baab1ef58b3bbb25caafa9f0d808f503528832.tar.xz
netpbm-mirror-b8baab1ef58b3bbb25caafa9f0d808f503528832.zip
restructure tests: check-tree, check-package, check-install; add Valgrind facility; doesn't overwrite prior test results
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2443 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/pgmcrater.test')
-rwxr-xr-xtest/pgmcrater.test31
1 files changed, 0 insertions, 31 deletions
diff --git a/test/pgmcrater.test b/test/pgmcrater.test
deleted file mode 100755
index ffba435f..00000000
--- a/test/pgmcrater.test
+++ /dev/null
@@ -1,31 +0,0 @@
-#! /bin/bash
-# This script tests: pgmcrater
-
-  alias pgmcrater="${PBM_TESTPREFIX}pgmcrater"
-  shopt -s expand_aliases
-
-# This test is sensitive to differences in floating point math.
-# With GCC slight results start to appear with -number 75 in
-# the following test.  Compiler type (GCC, Clang, etc.),
-# SSE math (by default off with x86 32 bit on with x86 64 bit)
-# and --ffast-math are factors.
-
-# We hope that by keeping the number of craters small the
-# difference will not show up.
-#
-# The slight differences in the image file are not discernable by
-# the naked eye.
-
-testrandom -q
-case $? in
-   81)
-      # Should print: 3828822912 65551
-      pgmcrater -quiet -number 25 -randomseed 1 | cksum
-      ;;
-
-   8[02-9] | 90)
-       echo "Skipping: random number generator is not glibc." 1>&2
-       exit 80;;
-
-   *)  exit 1;;  # testrandom failed
-esac