Codebase list golang-github-russellhaering-goxmldsig / 5d44e4c6-cc66-47ec-a5a8-5a261c338298/upstream run_test.sh
5d44e4c6-cc66-47ec-a5a8-5a261c338298/upstream

Tree @5d44e4c6-cc66-47ec-a5a8-5a261c338298/upstream (Download .tar.gz)

run_test.sh @5d44e4c6-cc66-47ec-a5a8-5a261c338298/upstreamraw · history · blame

#!/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