summaryrefslogtreecommitdiff
path: root/storage/maria/ma_test_all.sh
blob: 4e9be4a5beb1502f6f97c1bc4a77c58cd99e4858 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/sh
#
# This file is now deprecated and has been replaced by
# unittest/ma_test_all-t
#
#
#
#

PRG='unittest/ma_test_all-t'
UTST='../../unittest/unit.pl'

if [ ! -x $PRG ] ; then
  DIR=`dirname $0`
  PRG="$DIR/unittest/ma_test_all-t"
  UTST="$DIR/../../unittest/unit.pl"
fi

if test -n "$1"; then

  # unit.pl can't pass options to ma_test_all-t, so if anything
  # was passed as an argument, assume the purpose was to pass
  # them to ma_test_all-t and call it directly

  $PRG $@
else
  perl $UTST run $PRG
fi