[BUGFIX] test once per time

This commit is contained in:
Martin Geno 2017-05-29 22:06:59 +02:00
parent 5628d7db22
commit 23ac551e88
No known key found for this signature in database
GPG Key ID: F0D39A37E925E941

View File

@ -9,7 +9,7 @@ FAIL=0
for dir in $(find . -maxdepth 10 -not -path './.git*' -not -path '*/_*' -type d); for dir in $(find . -maxdepth 10 -not -path './.git*' -not -path '*/_*' -type d);
do do
if ls $dir/*.go &> /dev/null; then if ls $dir/*.go &> /dev/null; then
go test -v -covermode=count -coverprofile=profile.tmp $dir || FAIL=$? go test -p 1 -v -covermode=count -coverprofile=profile.tmp $dir || FAIL=$?
if [ -f profile.tmp ] if [ -f profile.tmp ]
then then
tail -n +2 < profile.tmp >> profile.cov tail -n +2 < profile.tmp >> profile.cov