From d90d3aef10bd3d7ab190f0a400d1ba91195c1acc Mon Sep 17 00:00:00 2001 From: spacewander Date: Tue, 7 Nov 2023 19:25:55 +0800 Subject: [PATCH] streamingly output the integration test result Signed-off-by: spacewander --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8a378938..2f1094e1 100644 --- a/Makefile +++ b/Makefile @@ -80,7 +80,9 @@ integration-test: if ! docker images ${PROXY_IMAGE} | grep envoyproxy/envoy > /dev/null; then \ docker pull ${PROXY_IMAGE}; \ fi - go test ${TEST_OPTION} ./tests/integration/... + $(foreach PKG, $(shell go list ./tests/integration/...), \ + go test ${TEST_OPTION} ${PKG} || exit 1; \ + ) .PHONY: build-so-local build-so-local: