1
0
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:
V2Ray 2015-10-01 16:20:16 +02:00
parent e859ac1d5d
commit e70ff6547c

View File

@ -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