Skip to content

Agent Mesh

add WHAT discriminator

Antonio Ojeaddc2ada12a27
diff --git a/Makefile b/Makefile
index 24a172c9..001b84d1 100644
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@ clean:
rm -rf "$(OUT_DIR)/"
test:
- CGO_ENABLED=1 go test -v -race -count 1 ./...
+ CGO_ENABLED=1 go test -v -race -count 1 $(if $(WHAT),-run $(WHAT)) ./...
.PHONY: test-python test-python-e2e
test-python:
@@ -30,7 +30,7 @@ test-python-e2e: build docker-build
bats --verbose-run tests/e2e/python_sdk_test.bats
e2e-test: build docker-build
- bats --verbose-run tests/e2e/
+ bats --verbose-run $(if $(WHAT),--filter "$(WHAT)") tests/e2e/
test-e2e: build docker-build
@command -v bats >/dev/null 2>&1 || { \