Skip to content

Commit 94fc1e3

Browse files
committed
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.
1 parent 849db0a commit 94fc1e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.make

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ test:
9898
test: test-go
9999
test-go:
100100
@ echo; echo "### $@:"
101-
go test `go list ./... | grep -v 'vendor' $(TEST_GO_FILTER_CMD)` $(TESTARGS)
101+
go test `go list ./... | grep -v -e 'vendor' -e '/test/e2e$$' $(TEST_GO_FILTER_CMD)` $(TESTARGS)
102102

103103
.PHONY: test-vet
104104
test: test-vet

0 commit comments

Comments
 (0)