Skip to content

Commit

Permalink
build.make: avoid unit-testing E2E test suite
Browse files Browse the repository at this point in the history
In repos that have a test/e2e, that test suite should be run
separately because it depends on a running cluster.
  • Loading branch information
pohly committed Mar 15, 2019
1 parent 849db0a commit 94fc1e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.make
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ test:
test: test-go
test-go:
@ echo; echo "### $@:"
go test `go list ./... | grep -v 'vendor' $(TEST_GO_FILTER_CMD)` $(TESTARGS)
go test `go list ./... | grep -v -e 'vendor' -e '/test/e2e$$' $(TEST_GO_FILTER_CMD)` $(TESTARGS)

.PHONY: test-vet
test: test-vet
Expand Down

0 comments on commit 94fc1e3

Please sign in to comment.