mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Backport Makefile recipes for common test commands.
Signed-off-by: James Blair <mail@jamesblair.net>
This commit is contained in:
parent
b9248914cf
commit
84b85a0f0d
16
Makefile
16
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 )
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user