Files
dodo-contractV2/truffle-test.sh

37 lines
616 B
Bash
Raw Normal View History

#!/bin/bash
truffle compile --all
if [ "$1"x = "proxy-dpp"x ]
then
truffle test ./test/Proxy/proxy.dpp.test.ts
fi
if [ "$1"x = "proxy-dvm"x ]
then
truffle test ./test/Proxy/proxy.dvm.test.ts
fi
2020-11-30 11:36:36 +08:00
if [ "$1"x = "proxy-mix"x ]
then
truffle test ./test/Proxy/proxy.mix.test.ts
fi
2020-12-01 01:47:22 +08:00
if [ "$1"x = "proxy-classical"x ]
then
truffle test ./test/Proxy/proxy.classical.test.ts
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/Proxy/proxy.cp.test.ts
fi
2021-01-06 18:02:44 +08:00
if [ "$1"x = "route-incentive"x ]
then
2021-01-06 18:02:44 +08:00
truffle test ./test/Route/Incentive.test.ts
fi
if [ "$1"x = "route"x ]
then
truffle test ./test/Route/route.test.ts
2021-01-04 22:23:08 +08:00
fi