From 1e22a7facf5308a9745c28a92c11fa6818301eb8 Mon Sep 17 00:00:00 2001 From: Eli Bendersky Date: Fri, 10 May 2019 20:16:28 -0700 Subject: [PATCH] testing: don't repeat main module tests (#2050) --- internal/testing/runchecks.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/testing/runchecks.sh b/internal/testing/runchecks.sh index 1f5ca6274e..4296391b59 100755 --- a/internal/testing/runchecks.sh +++ b/internal/testing/runchecks.sh @@ -164,7 +164,7 @@ wire diff ./... || { echo echo "Running Go tests for sub-modules..." -sed -e '/^#/d' -e '/^$/d' allmodules | while read -r path || [[ -n "$path" ]]; do +sed -e '/^#/d' -e '/^$/d' -e '/^\.$/d' allmodules | while read -r path || [[ -n "$path" ]]; do echo "Running tests in '$path'..." ( cd "$path" && exec go test -mod=readonly ./... ) || result=1 echo "Running wire checks in '$path'..."