summaryrefslogtreecommitdiff
path: root/lzo/util/check.sh
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2014-04-07 20:43:34 +0200
committerParménides GV <parmegv@sdf.org>2014-04-08 11:43:27 +0200
commitc206a91d320995f37f8abb33188bfd384249da3d (patch)
tree10a7d8a9dd7f24437ac4851b8d01edbd5dd3ee3b /lzo/util/check.sh
parent910b0e1746ab3f63e63808b198ad51fec5b635e5 (diff)
Next step: compile jni sources correctly.
Diffstat (limited to 'lzo/util/check.sh')
-rw-r--r--lzo/util/check.sh43
1 files changed, 0 insertions, 43 deletions
diff --git a/lzo/util/check.sh b/lzo/util/check.sh
deleted file mode 100644
index 6fbd141f..00000000
--- a/lzo/util/check.sh
+++ /dev/null
@@ -1,43 +0,0 @@
-#! /bin/sh
-set -e
-
-#
-# usage: util/check.sh [directory]
-#
-# This script runs lzotest with all algorithms on a complete directory tree.
-# It is not suitable for accurate timings.
-#
-# Copyright (C) 1996-2011 Markus Franz Xaver Johannes Oberhumer
-#
-
-LZOTEST="lzotest"
-test -x ./lzotest/lzotest && LZOTEST="./lzotest/lzotest"
-test -x ./lzotest.exe && LZOTEST="./lzotest.exe"
-test -x ./lzotest.out && LZOTEST="./lzotest.out"
-
-dir="${*-.}"
-
-TMPFILE="/tmp/lzo_$$.tmp"
-rm -f $TMPFILE
-(find $dir/ -type f -print > $TMPFILE) || true
-
-## methods=`$LZOTEST -m | sed -n 's/^ *-m\([0-9]*\).*/\1/p'`
-## methods="9721 9722 9723 9724 9725 9726 9727 9728 9729"
-methods="21 31 1 2 3 4 5 6 7 8 9 11 12 13 14 15 16 17 18 19 61 71 81"
-methods="$methods 111 112 115"
-methods="$methods 921 931 901 911"
-methods="$methods 902 912 942 962 972 982 992"
-##methods="71 972"
-##methods="1101 1102 1103 1104 1105 1106 1107"
-
-LFLAGS="-q -T -n2 -S"
-LFLAGS="-q -T -n2"
-
-for i in $methods; do
- cat $TMPFILE | $LZOTEST -m${i} -@ $LFLAGS
-done
-
-rm -f $TMPFILE
-echo "Done."
-exit 0
-