Files
opencloud/vendor/github.com/russellhaering/goxmldsig/run_test.sh
T
2023-04-19 20:24:34 +02:00

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