11 lines
307 B
Bash
11 lines
307 B
Bash
|
#!/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
|