Repository navigation
Expand file tree
/
Copy pathMakefile
More file actions
43 lines (39 loc) · 1.53 KB
/
Copy pathMakefile
File metadata and controls
43 lines (39 loc) · 1.53 KB
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
35
36
37
38
39
40
41
42
43
.PHONY: build_integration_test
build_integration_test: build_tiup_playground_test build_tiup_cluster_test build_tiup_dm_test
@# Target: run the playground, cluster, and dm integration tests.
.PHONY: build_tiup_playground_test
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
$(GOTEST) -c -cover -covermode=count \
-coverpkg=github.com/pingcap/tiup/... \
-o tests/tiup-playground-ng/bin/tiup-playground-ng.test \
github.com/pingcap/tiup/components/playground-ng
@$(FAILPOINT_DISABLE)
.PHONY: build_tiup_cluster_test
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)
.PHONY: build_tiup_dm_test
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)
.PHONY: build_tiup_test
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)