1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
build_integration_test: build_tiup_playground_test build_tiup_cluster_test build_tiup_dm_test
@# Target: run the playground, cluster, and dm integration tests.
build_tiup_playground_test: failpoint-enable
@# Target: run the tiup-playground tests
$(GOTEST) -c -cover -covermode=count \
-coverpkg=github.com/pingcap/tiup/... \
-o tests/tiup-playground/bin/tiup-playground.test \
github.com/pingcap/tiup/components/playground
@$(FAILPOINT_DISABLE)
build_tiup_cluster_test: failpoint-enable
@# Target: run the tiup-cluster tests
$(GOTEST) -c -cover -covermode=count \
-coverpkg=github.com/pingcap/tiup/... \
-o tests/tiup-cluster/bin/tiup-cluster.test \
github.com/pingcap/tiup/components/cluster;
@$(FAILPOINT_DISABLE)
build_tiup_dm_test: failpoint-enable
@# Target: run the tiup-dm tests
$(GOTEST) -c -cover -covermode=count \
-coverpkg=github.com/pingcap/tiup/... \
-o tests/tiup-dm/bin/tiup-dm.test \
github.com/pingcap/tiup/components/dm;
@$(FAILPOINT_DISABLE)
build_tiup_test: failpoint-enable
@# Target: run the tiup tests
$(GOTEST) -c -cover -covermode=count \
-coverpkg=github.com/pingcap/tiup/... \
-o tests/tiup/bin/tiup.test \
github.com/pingcap/tiup;
@$(FAILPOINT_DISABLE)
|