Permalink
Browse files

update makes

  • Loading branch information...
kamilsk committed Jul 5, 2018
1 parent 5cd8eb0 commit 4842ba0e313346af5bad51b7a70b482d1439313d
Showing with 3 additions and 3 deletions.
  1. +1 −1 makes/docker/base.mk
  2. +2 −2 makes/local.mk
@@ -61,7 +61,7 @@ docker-test-with-coverage-$(1):
golang:$(1) \
/bin/sh -c '$$(PACKAGES) | xargs go get -d -t; \
echo "mode: $${GO_TEST_COVERAGE_MODE}" > '$$@.out'; \
for package in $$$$($$(PACKAGES)); do \
set -e; for package in $$$$($$(PACKAGES)); do \
go test -covermode '$${GO_TEST_COVERAGE_MODE}' \
-coverprofile "coverage_$$$${package##*/}.out" \
$$(strip $$(ARGS)) "$$$${package}"; \
@@ -76,7 +76,7 @@ test-with-coverage-profile: #| Runs tests with coverage and collects the resul
#| Accepts: ARGS, OPEN_BROWSER.
#| Uses: GO_TEST_COVERAGE_MODE, GO_TEST_COVERAGE_FILENAME, PACKAGES.
echo 'mode: ${GO_TEST_COVERAGE_MODE}' > '${GO_TEST_COVERAGE_FILENAME}'
for package in $$($(PACKAGES)); do \
set -e; for package in $$($(PACKAGES)); do \
go test -covermode '${GO_TEST_COVERAGE_MODE}' \
-coverprofile "coverage_$${package##*/}.out" \
$(strip $(ARGS)) "$${package}"; \
@@ -93,7 +93,7 @@ test-example: #| Runs example tests with coverage and collects t
#| Accepts: ARGS, OPEN_BROWSER.
#| Uses: GO_TEST_COVERAGE_MODE, GO_TEST_COVERAGE_FILENAME, PACKAGES.
echo 'mode: ${GO_TEST_COVERAGE_MODE}' > '${GO_TEST_COVERAGE_FILENAME}'
for package in $$($(PACKAGES)); do \
set -e; for package in $$($(PACKAGES)); do \
go test -v -run=Example \
-covermode '${GO_TEST_COVERAGE_MODE}' \
-coverprofile "coverage_example_$${package##*/}.out" \

0 comments on commit 4842ba0

Please sign in to comment.