You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

29 lines
503 B

#!/usr/bin/env bash-shlib
# -*- mode: shell-script -*-
include common
exname="$(basename $0)"
if ! [ -e "../.package" ]; then
echo "Please execute this in test directory, with '../bin/$exname'." >&2
echo "Or, if pkgcmd is installed, use 't'..."
exit 1
fi
base=$(realpath "$PWD/..")
export base
cd "$base/test"
for tfile in *; do
[ -e "$tfile" ] || continue
[ -d "$tfile" ] && continue
(
/usr/bin/env bash-shlib "$tfile" "$@"
) && continue
exit "$?"
done