浏览代码

fix coverall script

Darien Raymond 7 年之前
父节点
当前提交
2b0196527d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      testing/coverage/coverall

+ 1 - 1
testing/coverage/coverall

@@ -28,7 +28,7 @@ if [ -f ${TEST_FILES[0]} ]; then
   test_package ""
 fi
 
-for DIR in $(find * -type d -not -path "*.git*"); do
+for DIR in $(find * -type d ! -path "*.git*" ! -path "*vendor*"); do
   TEST_FILES=($DIR/*_test.go)
   if [ -f ${TEST_FILES[0]} ]; then
     test_package $DIR