Test root package

pull/40/head
V2Ray 2015-10-01 16:20:16 +02:00
parent e859ac1d5d
commit e70ff6547c
1 changed files with 5 additions and 0 deletions

View File

@ -15,6 +15,11 @@ function test_package {
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
TEST_FILES=($DIR/*_test.go)
if [ -f ${TEST_FILES[0]} ]; then