-
Notifications
You must be signed in to change notification settings - Fork 98
/
Copy pathtruffle-test.sh
82 lines (66 loc) · 1.41 KB
/
truffle-test.sh
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
#!/bin/bash
truffle compile --all
if [ "$1"x = "proxy-dpp"x ]
then
truffle test ./test/V2Proxy/proxy.dpp.test.ts
fi
if [ "$1"x = "proxy-dvm"x ]
then
truffle test ./test/V2Proxy/proxy.dvm.test.ts
fi
if [ "$1"x = "proxy-mix"x ]
then
truffle test ./test/V2Proxy/proxy.mix.test.ts
fi
if [ "$1"x = "proxy-classical"x ]
then
truffle test ./test/V2Proxy/proxy.classical.test.ts
fi
if [ "$1"x = "proxy-cp"x ]
then
truffle test ./test/V2Proxy/proxy.cp.test.ts
fi
if [ "$1"x = "proxy-incentive"x ]
then
truffle test ./test/V2Proxy/proxy.incentive.test.ts
fi
if [ "$1"x = "proxy-incentive-bsc"x ]
then
truffle test ./test/V2Proxy/proxy.incentive.bsc.test.ts
fi
if [ "$1"x = "proxy-twap"x ]
then
truffle test ./test/V2Proxy/proxy.twap.test.ts
fi
if [ "$1"x = "vdodo-mintRedeem"x ]
then
truffle test ./test/vDODO/mintRedeem.test.ts
fi
if [ "$1"x = "erc20-mine"x ]
then
truffle test ./test/DODOMineV2/erc20Mine.test.ts
fi
if [ "$1"x = "vdodo-mine"x ]
then
truffle test ./test/DODOMineV2/vDODOMine.test.ts
fi
if [ "$1"x = "nft"x ]
then
truffle test ./test/DODONFT/nftMainFlow.test.ts
fi
if [ "$1"x = "boxV1"x ]
then
truffle test ./test/DODONFT/mysteryBoxV1.test.ts
fi
if [ "$1"x = "boxV2"x ]
then
truffle test ./test/DODODrops/dropsV2.test.ts
fi
if [ "$1"x = "erc721NFTPool"x ]
then
truffle test ./test/NFTPool/erc721NftPool.test.ts
fi
if [ "$1"x = "erc1155NFTPool"x ]
then
truffle test ./test/NFTPool/erc1155NftPool.test.ts
fi