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

  1. #!/usr/bin/env bash-shlib
  2. # -*- mode: shell-script -*-
  3. include common
  4. exname="$(basename $0)"
  5. if ! [ -e "../.package" ]; then
  6. echo "Please execute this in test directory, with '../bin/$exname'." >&2
  7. echo "Or, if pkgcmd is installed, use 't'..."
  8. exit 1
  9. fi
  10. base=$(realpath "$PWD/..")
  11. export base
  12. cd "$base/test"
  13. for tfile in *; do
  14. [ -e "$tfile" ] || continue
  15. [ -d "$tfile" ] && continue
  16. (
  17. /usr/bin/env bash-shlib "$tfile" "$@"
  18. ) && continue
  19. exit "$?"
  20. done