navi/test/run

14 lines
251 B
Text
Raw Normal View History

2019-09-21 22:21:46 +00:00
#!/usr/bin/env bash
set -euo pipefail
export SCRIPT_DIR="$(cd "$(dirname "$0")/.." && pwd)"
source "${SCRIPT_DIR}/test/core.sh"
2019-09-25 14:44:57 +00:00
tests="$(find "$SCRIPT_DIR/test" -iname "${1:-}*_test.sh")"
2019-09-21 22:21:46 +00:00
2019-09-23 11:56:15 +00:00
for test in $tests; do
source "$test"
2019-09-21 22:21:46 +00:00
done
2019-09-23 11:56:15 +00:00
test::finish