fedhub/async-git/run-tests.sh

11 lines
307 B
Bash
Raw Normal View History

2020-04-22 03:13:53 +00:00
#!/bin/bash
# get the directory where this script lives
DIR="$(cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd)"
export GIT_PATH=${GIT_PATH:-$DIR/../target/debug/git}
export TESTS_DIR=${TESTS_DIR:-$DIR/tests}
for script in $(ls $TESTS_DIR/test-*.sh);
do
(cd $TESTS_DIR; bash $script)
done