# -*- shell-script -*- # Defines for Heroes testing environment. # Ensure $srcdir set correctly. if test ! -f $srcdir/defs; then echo "defs: installation error" 1>&2 exit 1 fi # User can set VERBOSE to see all output. test -z "$VERBOSE" && exec > /dev/null 2>&1 echo "== Running test $0" test -z "$HEROES" && HEROES="../src/heroes" test -z "$HEROESLVL" && HEROESLVL="../src/heroeslvl" if test -z "$HEROES_SYSTEM_CONF"; then HEROES_SYSTEM_CONF="$srcdir/../src/etc/heroesrc" export HEROES_SYSTEM_CONF fi # Turn on shell traces when VERBOSE=x. if test "x$VERBOSE" = xx; then set -x else : fi