Skip to content

Commit

Permalink
Revert "Turn on benchmark test"
Browse files Browse the repository at this point in the history
This reverts commit c69e575.
  • Loading branch information
toomore committed Aug 3, 2017
1 parent c69e575 commit b97cd5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion goclean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b97cd5c

Please sign in to comment.