mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-30 05:56:54 -05:00
Test root package
This commit is contained in:
parent
e859ac1d5d
commit
e70ff6547c
@ -15,6 +15,11 @@ function test_package {
|
|||||||
|
|
||||||
touch coverall.out
|
touch coverall.out
|
||||||
|
|
||||||
|
TEST_FILES=(./*_test.go)
|
||||||
|
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 -not -path "*.git*"); do
|
||||||
TEST_FILES=($DIR/*_test.go)
|
TEST_FILES=($DIR/*_test.go)
|
||||||
if [ -f ${TEST_FILES[0]} ]; then
|
if [ -f ${TEST_FILES[0]} ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user