From 79b43df6260ab1bf61a75ed7a93a8b2273ffea8d Mon Sep 17 00:00:00 2001 From: wujinhu Date: Fri, 18 Oct 2019 16:34:20 +0800 Subject: [PATCH] fix Makefile Signed-off-by: wujinhu --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3f5aebc976..284cc40b2c 100644 --- a/Makefile +++ b/Makefile @@ -203,17 +203,19 @@ test: check-git install-deps @go install github.com/thanos-io/thanos/cmd/thanos # Be careful on GOCACHE. Those tests are sometimes using built Thanos/Prometheus binaries directly. Don't cache those. @rm -rf ${GOCACHE} - @echo ">> running all tests. Do export THANOS_SKIP_GCS_TESTS='true' or/and THANOS_SKIP_S3_AWS_TESTS='true' or/and THANOS_SKIP_AZURE_TESTS='true' and/or THANOS_SKIP_SWIFT_TESTS='true' and/or THANOS_SKIP_TENCENT_COS_TESTS='true' if you want to skip e2e tests against real store buckets" + @echo ">> running all tests. Do export THANOS_SKIP_GCS_TESTS='true' or/and THANOS_SKIP_S3_AWS_TESTS='true' or/and THANOS_SKIP_AZURE_TESTS='true' and/or THANOS_SKIP_SWIFT_TESTS='true' and/or THANOS_SKIP_ALIYUN_OSS_TESTS='true' and/or THANOS_SKIP_TENCENT_COS_TESTS='true' if you want to skip e2e tests against real store buckets" @go test $(shell go list ./... | grep -v /vendor/); .PHONY: test-ci test-ci: export THANOS_SKIP_AZURE_TESTS = true test-ci: export THANOS_SKIP_SWIFT_TESTS = true test-ci: export THANOS_SKIP_TENCENT_COS_TESTS = true +test-ci: export THANOS_SKIP_ALIYUN_OSS_TESTS = true test-ci: @echo ">> Skipping AZURE tests" @echo ">> Skipping SWIFT tests" @echo ">> Skipping TENCENT tests" + @echo ">> Skipping ALIYUN tests" $(MAKE) test .PHONY: test-local