From e70ff6547c7ebffd85acdab527c606f65bb75f06 Mon Sep 17 00:00:00 2001 From: V2Ray Date: Thu, 1 Oct 2015 16:20:16 +0200 Subject: [PATCH] Test root package --- testing/coverage/coverall | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/testing/coverage/coverall b/testing/coverage/coverall index 591fe5cf..54d6b44f 100755 --- a/testing/coverage/coverall +++ b/testing/coverage/coverall @@ -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