1#!/bin/sh
2#
3# This file is now deprecated and has been replaced by
4# unittest/ma_test_all-t
5#
6#
7#
8#
9
10PRG='unittest/ma_test_all-t'
11UTST='../../unittest/unit.pl'
12
13if [ ! -x $PRG ] ; then
14  DIR=`dirname $0`
15  PRG="$DIR/unittest/ma_test_all-t"
16  UTST="$DIR/../../unittest/unit.pl"
17fi
18
19if test -n "$1"; then
20
21  # unit.pl can't pass options to ma_test_all-t, so if anything
22  # was passed as an argument, assume the purpose was to pass
23  # them to ma_test_all-t and call it directly
24
25  $PRG $@
26else
27  perl $UTST run $PRG
28fi
29