Skip to content

Commit

Permalink
fix1
Browse files Browse the repository at this point in the history
  • Loading branch information
prashantramangupta committed Jun 25, 2019
1 parent 476674c commit 23f2da0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/test
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ go get golang.org/x/tools/cmd/cover
go get github.com/mattn/goveralls
for d in */ ; do
for entry in "$d"/*;do
if `[[ $entry =~ [a-zA-Z-]{1,}(_test.go)$ ]]`;then `GOCACHE=off go test -v ./${d: 0:-1} -coverprofile ${d: 0:-1}.part`;break;fi
if [[ $entry =~ [a-zA-Z-]{1,}(_test.go)$ ]];
then
GOCACHE=off go test -v ./${d: 0:-1} -coverprofile ${d: 0:-1}.part;
break
fi
done
done
echo "mode: set">>coverage.out
Expand Down

0 comments on commit 23f2da0

Please sign in to comment.