forked from hyperledger-labs/fabric-token-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fungible.mk
98 lines (75 loc) · 3.54 KB
/
fungible.mk
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
.PHONY: integration-tests-dlog-fabric-t1
integration-tests-dlog-fabric-t1:
make integration-tests-dlog-fabric TEST_FILTER="T1"
.PHONY: integration-tests-dlog-fabric-t2
integration-tests-dlog-fabric-t2:
make integration-tests-dlog-fabric TEST_FILTER="T2"
.PHONY: integration-tests-dlog-fabric-t3
integration-tests-dlog-fabric-t3:
make integration-tests-dlog-fabric TEST_FILTER="T3"
.PHONY: integration-tests-dlog-fabric-t4
integration-tests-dlog-fabric-t4:
make integration-tests-dlog-fabric TEST_FILTER="T4"
.PHONY: integration-tests-dlog-fabric-t5
integration-tests-dlog-fabric-t5:
make integration-tests-dlog-fabric TEST_FILTER="T5"
.PHONY: integration-tests-dlog-fabric-t6
integration-tests-dlog-fabric-t6:
make integration-tests-dlog-fabric TEST_FILTER="T6"
.PHONY: integration-tests-dlog-fabric-t7
integration-tests-dlog-fabric-t7:
make integration-tests-dlog-fabric TEST_FILTER="T7"
.PHONY: integration-tests-dlog-fabric-t8
integration-tests-dlog-fabric-t8:
make integration-tests-dlog-fabric TEST_FILTER="T8"
.PHONY: integration-tests-dlog-fabric-t9
integration-tests-dlog-fabric-t9:
make integration-tests-dlog-fabric TEST_FILTER="T9"
.PHONY: integration-tests-dlog-fabric-t10
integration-tests-dlog-fabric-t10:
make integration-tests-dlog-fabric TEST_FILTER="T10"
.PHONY: integration-tests-dlog-fabric-t11
integration-tests-dlog-fabric-t11:
make integration-tests-dlog-fabric TEST_FILTER="T11"
.PHONY: integration-tests-dlog-fabric
integration-tests-dlog-fabric:
cd ./integration/token/fungible/dlog; export FAB_BINS=$(FAB_BINS); ginkgo $(GINKGO_TEST_OPTS) --label-filter="$(TEST_FILTER)" .
.PHONY: integration-tests-fabtoken-dlog-fabric
integration-tests-fabtoken-dlog-fabric:
cd ./integration/token/fungible/mixed; export FAB_BINS=$(FAB_BINS); ginkgo $(GINKGO_TEST_OPTS) .
.PHONY: integration-tests-dloghsm-fabric-t1
integration-tests-dloghsm-fabric-t1:
make integration-tests-dloghsm-fabric TEST_FILTER="T1"
.PHONY: integration-tests-dloghsm-fabric-t2
integration-tests-dloghsm-fabric-t2:
make integration-tests-dloghsm-fabric TEST_FILTER="T2"
.PHONY: integration-tests-dloghsm-fabric
integration-tests-dloghsm-fabric: install-softhsm
@echo "Setup SoftHSM"
@./ci/scripts/setup_softhsm.sh
@echo "Start Integration Test"
cd ./integration/token/fungible/dloghsm; export FAB_BINS=$(FAB_BINS); ginkgo $(GINKGO_TEST_OPTS) --tags pkcs11 --label-filter="$(TEST_FILTER)" .
.PHONY: integration-tests-fabtoken-fabric-t1
integration-tests-fabtoken-fabric-t1:
make integration-tests-fabtoken-fabric TEST_FILTER="T1"
.PHONY: integration-tests-fabtoken-fabric-t2
integration-tests-fabtoken-fabric-t2:
make integration-tests-fabtoken-fabric TEST_FILTER="T2"
.PHONY: integration-tests-fabtoken-fabric-t3
integration-tests-fabtoken-fabric-t3:
make integration-tests-fabtoken-fabric TEST_FILTER="T3"
.PHONY: integration-tests-fabtoken-fabric-t4
integration-tests-fabtoken-fabric-t4:
make integration-tests-fabtoken-fabric TEST_FILTER="T4"
.PHONY: integration-tests-fabtoken-fabric-t5
integration-tests-fabtoken-fabric-t5:
make integration-tests-fabtoken-fabric TEST_FILTER="T5"
.PHONY: integration-tests-fabtoken-fabric
integration-tests-fabtoken-fabric:
cd ./integration/token/fungible/fabtoken; export FAB_BINS=$(FAB_BINS); ginkgo $(GINKGO_TEST_OPTS) --tags pkcs11 --label-filter="$(TEST_FILTER)" .
.PHONY: integration-tests-dlog-orion
integration-tests-dlog-orion:
cd ./integration/token/fungible/odlog; ginkgo $(GINKGO_TEST_OPTS) .
.PHONY: integration-tests-fabtoken-orion
integration-tests-fabtoken-orion:
cd ./integration/token/fungible/ofabtoken; ginkgo $(GINKGO_TEST_OPTS) .