076cd77469
Signed-off-by: Stephan Renatus <srenatus@chef.io>
13 lines
243 B
Bash
13 lines
243 B
Bash
#!/bin/bash
|
|
cd `dirname $0`
|
|
DIRS=`git grep -l 'func Test' | xargs dirname | sort -u`
|
|
for DIR in $DIRS
|
|
do
|
|
echo
|
|
echo "dir: $DIR"
|
|
echo "======================================"
|
|
pushd $DIR >/dev/null
|
|
go test -v || exit 1
|
|
popd >/dev/null
|
|
done
|