summaryrefslogtreecommitdiff
path: root/app/lzo/util/checkasm.sh
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2015-06-04 19:20:15 +0200
committerParménides GV <parmegv@sdf.org>2015-06-04 19:20:15 +0200
commit27594eeae6f40a402bc3110f06d57975168e74e3 (patch)
treecdabf6571e6f4ff07205fd6921d8095539a1fcdc /app/lzo/util/checkasm.sh
parent8dc4f58d96892fbfd83094fb85b1d17656035290 (diff)
ics-openvpn as a submodule! beautiful
ics-openvpn is now officially on GitHub, and they track openssl and openvpn as submodules, so it's easier to update everything. Just a git submodule update --recursive. I've also set up soft links to native modules from ics-openvpn in app, so that we don't copy files in Gradle (which was causing problems with the submodules .git* files, not being copied). That makes the repo cleaner.
Diffstat (limited to 'app/lzo/util/checkasm.sh')
-rw-r--r--app/lzo/util/checkasm.sh46
1 files changed, 0 insertions, 46 deletions
diff --git a/app/lzo/util/checkasm.sh b/app/lzo/util/checkasm.sh
deleted file mode 100644
index 4fee682e..00000000
--- a/app/lzo/util/checkasm.sh
+++ /dev/null
@@ -1,46 +0,0 @@
-#! /bin/sh
-set -e
-
-#
-# usage: util/checkasm.sh [directory]
-#
-# This script runs lzotest with all assembler decompressors
-# on a complete directory tree.
-# It is not suitable for accurate timings.
-#
-# Copyright (C) 1996-2014 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"
-LFLAGS="-q"
-
-dir="${*-.}"
-
-TMPFILE="/tmp/lzo_$$.tmp"
-rm -f $TMPFILE
-(find $dir/ -type f -print > $TMPFILE) || true
-
-for i in 11; do
- cat $TMPFILE | $LZOTEST -m${i} -@ $LFLAGS -A
- cat $TMPFILE | $LZOTEST -m${i} -@ $LFLAGS -A -S
-done
-
-for i in 61; do
- cat $TMPFILE | $LZOTEST -m${i} -@ $LFLAGS -F
- cat $TMPFILE | $LZOTEST -m${i} -@ $LFLAGS -F -S
-done
-
-for i in 71 81; do
- cat $TMPFILE | $LZOTEST -m${i} -@ $LFLAGS -A
- cat $TMPFILE | $LZOTEST -m${i} -@ $LFLAGS -A -S
- cat $TMPFILE | $LZOTEST -m${i} -@ $LFLAGS -F
- cat $TMPFILE | $LZOTEST -m${i} -@ $LFLAGS -F -S
-done
-
-rm -f $TMPFILE
-echo "Done."
-exit 0
-