Taylor Gerring преди 11 години
родител
ревизия
7ddebd7a75
променени са 1 файла, в които са добавени 4 реда и са изтрити 1 реда
  1. 4 1
      gocoverage.sh

+ 4 - 1
gocoverage.sh

@@ -13,7 +13,10 @@ for dir in $(find . -maxdepth 10 -not -path './.git*' -not -path '*/_*' -type d)
 do
 if ls $dir/*.go &> /dev/null; then
     # echo $dir
-    go test -covermode=count -coverprofile=$dir/profile.tmp $dir
+    if [[ $dir != "./tests/vm" ]]
+    then
+        go test -covermode=count -coverprofile=$dir/profile.tmp $dir
+    fi
     if [ -f $dir/profile.tmp ]
     then
         cat $dir/profile.tmp | tail -n +2 >> profile.cov