Files
dodo-contractV2/truffle-test.sh

58 lines
1021 B
Bash
Raw Normal View History

#!/bin/bash
2021-02-05 17:04:53 +08:00
# 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
2020-11-30 11:36:36 +08:00
if [ "$1"x = "proxy-mix"x ]
then
truffle test ./test/V2Proxy/proxy.mix.test.ts
2020-11-30 11:36:36 +08:00
fi
2020-12-01 01:47:22 +08:00
if [ "$1"x = "proxy-classical"x ]
then
truffle test ./test/V2Proxy/proxy.classical.test.ts
2020-12-01 01:47:22 +08:00
fi
2020-11-30 11:36:36 +08:00
2020-12-15 01:07:15 +08:00
if [ "$1"x = "proxy-cp"x ]
then
truffle test ./test/V2Proxy/proxy.cp.test.ts
2020-12-15 01:07:15 +08:00
fi
if [ "$1"x = "proxy-incentive"x ]
then
truffle test ./test/V2Proxy/proxy.incentive.test.ts
fi
2021-03-14 16:49:33 +08:00
if [ "$1"x = "proxy-incentive-bsc"x ]
then
truffle test ./test/V2Proxy/proxy.incentive.bsc.test.ts
fi
2021-01-19 17:10:46 +08:00
if [ "$1"x = "proxy-twap"x ]
then
truffle test ./test/V2Proxy/proxy.twap.test.ts
fi
2021-02-02 18:55:22 +08:00
if [ "$1"x = "vdodo-mintRedeem"x ]
then
truffle test ./test/vDODO/mintRedeem.test.ts
fi
# if [ "$1"x = "route-incentive"x ]
# then
# truffle test ./test/Route/Incentive.test.ts
# fi
# if [ "$1"x = "route"x ]
# then
# truffle test ./test/Route/route.test.ts
# fi