build.make: avoid unit-testing E2E test suite

In repos that have a test/e2e, that test suite should be run
separately because it depends on a running cluster.
This commit is contained in:
Patrick Ohly
2019-03-15 11:08:53 +01:00
parent 849db0ad23
commit 104a1ac969

View File

@@ -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