mirror of https://github.com/v2ray/v2ray-core
fix coverall script
parent
e3cc852c57
commit
2b0196527d
|
@ -28,7 +28,7 @@ if [ -f ${TEST_FILES[0]} ]; then
|
||||||
test_package ""
|
test_package ""
|
||||||
fi
|
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)
|
TEST_FILES=($DIR/*_test.go)
|
||||||
if [ -f ${TEST_FILES[0]} ]; then
|
if [ -f ${TEST_FILES[0]} ]; then
|
||||||
test_package $DIR
|
test_package $DIR
|
||||||
|
|
Loading…
Reference in New Issue