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)
|
2020-04-22 07:44:26 +00:00
|
|
|
done
|