aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgocoverage.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/gocoverage.sh b/gocoverage.sh
index 4245e3901..d353bd08a 100755
--- a/gocoverage.sh
+++ b/gocoverage.sh
@@ -13,7 +13,7 @@ for dir in $(find . -maxdepth 10 -not -path './.git*' -not -path '*/_*' -type d)
do
if ls $dir/*.go &> /dev/null; then
# echo $dir
- if [[ $dir != "./tests/vm" ]]
+ if [[ $dir != "./tests/vm" && $dir != "." ]]
then
go test -covermode=count -coverprofile=$dir/profile.tmp $dir
fi