diff --git a/Makefile b/Makefile index 3af91a190..20fc75155 100644 --- a/Makefile +++ b/Makefile @@ -161,6 +161,22 @@ test-full: $(info log-file: test-$(TEST_SUFFIX).log) PASSES="fmt build release unit integration functional e2e grpcproxy" ./test.sh 2<&1 | tee test-$(TEST_SUFFIX).log +.PHONY: test-unit +test-unit: + PASSES="unit" ./test.sh $(GO_TEST_FLAGS) + +.PHONY: test-integration +test-integration: + PASSES="integration" ./test.sh $(GO_TEST_FLAGS) + +.PHONY: test-e2e +test-e2e: + PASSES="build e2e" ./test.sh $(GO_TEST_FLAGS) + +.PHONY: test-e2e-release +test-e2e-release: + PASSES="build release e2e" ./test.sh $(GO_TEST_FLAGS) + ensure-docker-test-image-exists: make pull-docker-test || ( echo "WARNING: Container Image not found in registry, building locally"; make build-docker-test )