diff options
Diffstat (limited to 'tools/run_tests/helper_scripts/run_python.sh')
-rwxr-xr-x | tools/run_tests/helper_scripts/run_python.sh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/run_tests/helper_scripts/run_python.sh b/tools/run_tests/helper_scripts/run_python.sh index 90f28c8ba8..bcfe3a6577 100755 --- a/tools/run_tests/helper_scripts/run_python.sh +++ b/tools/run_tests/helper_scripts/run_python.sh @@ -16,15 +16,15 @@ set -ex # change to grpc repo root -cd $(dirname $0)/../../.. +cd "$(dirname "$0")/../../.." -PYTHON=`realpath "${1:-py27/bin/python}"` +PYTHON=$(realpath "${1:-py27/bin/python}") -ROOT=`pwd` +ROOT=$(pwd) -$PYTHON $ROOT/src/python/grpcio_tests/setup.py test_lite +$PYTHON "$ROOT/src/python/grpcio_tests/setup.py" test_lite -mkdir -p $ROOT/reports -rm -rf $ROOT/reports/python-coverage -(mv -T $ROOT/htmlcov $ROOT/reports/python-coverage) || true +mkdir -p "$ROOT/reports" +rm -rf "$ROOT/reports/python-coverage" +(mv -T "$ROOT/htmlcov" "$ROOT/reports/python-coverage") || true |