From c952d293b92f5d47956bf97dab17502362f07a05 Mon Sep 17 00:00:00 2001 From: Facu Spagnuolo Date: Thu, 11 Jul 2019 11:47:10 -0300 Subject: [PATCH] Chore: Forward parameters in tests scripts (#917) --- shared/test-helpers/ganache-cli.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/shared/test-helpers/ganache-cli.sh b/shared/test-helpers/ganache-cli.sh index a58b3fc414..09129c2ca6 100755 --- a/shared/test-helpers/ganache-cli.sh +++ b/shared/test-helpers/ganache-cli.sh @@ -44,21 +44,21 @@ start_testrpc() { } measure_coverage() { - echo "Measuring coverage..." - npx solidity-coverage "$@" + echo "Measuring coverage $@..." + npx solidity-coverage $@ } run_tests() { - echo "Running tests..." - npx truffle test --network rpc "$@" + echo "Running tests $@..." + npx truffle test --network rpc $@ } if [ "$SOLIDITY_COVERAGE" = true ]; then setup_coverage_variables start_testrpc - measure_coverage + measure_coverage $@ else setup_testing_variables start_ganache - run_tests + run_tests $@ fi