Skip to content

Commit

Permalink
testing: don't repeat main module tests (#2050)
Browse files Browse the repository at this point in the history
  • Loading branch information
eliben authored and vangent committed May 11, 2019
1 parent b73b89e commit 1e22a7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/testing/runchecks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'..."
Expand Down

0 comments on commit 1e22a7f

Please sign in to comment.