diff --git a/goclean.sh b/goclean.sh index 1423346..a0dae6c 100644 --- a/goclean.sh +++ b/goclean.sh @@ -32,7 +32,8 @@ echo "mode: count" > coverage.cov for dir in $(find . -maxdepth 10 -not -path './.git*' -not -path '*/_*' -not -path './cmd' -not -path './cmd/docs' -not -path './sql' -type d); do if ls $dir/*.go &> /dev/null; then - go test -v --benchmem --bench=. -covermode=count -covercoverage=$dir/coverage.tmp $dir + #go test -v --benchmem --bench=. -covermode=count -covercoverage=$dir/coverage.tmp $dir + go test -v -covermode=count -coverprofile=$dir/coverage.tmp $dir if [ -f $dir/coverage.tmp ] then cat $dir/coverage.tmp | tail -n +2 >> coverage.cov