Improve test script. (#1675)
This commit is contained in:
@ -41,10 +41,12 @@ start_ganache() {
|
||||
if [ "$SOLIDITY_COVERAGE" = true ]; then
|
||||
node_modules/.bin/testrpc-sc --gasLimit 0xfffffffffff --port "$ganache_port" "${accounts[@]}" > /dev/null &
|
||||
else
|
||||
node_modules/.bin/ganache-cli --gasLimit 0xfffffffffff "${accounts[@]}" > /dev/null &
|
||||
node_modules/.bin/ganache-cli --gasLimit 0xfffffffffff --port "$ganache_port" "${accounts[@]}" > /dev/null &
|
||||
fi
|
||||
|
||||
ganache_pid=$!
|
||||
|
||||
sleep 1
|
||||
}
|
||||
|
||||
if ganache_running; then
|
||||
|
||||
Reference in New Issue
Block a user