From d00241e65c9e7599d15cbaf47ff34630da6461cd Mon Sep 17 00:00:00 2001 From: Masood Malekghassemi Date: Thu, 3 Dec 2015 16:42:36 -0800 Subject: Use tox --- tools/run_tests/run_python.sh | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'tools/run_tests/run_python.sh') diff --git a/tools/run_tests/run_python.sh b/tools/run_tests/run_python.sh index 9bdfbfc60c..cc44a433bb 100755 --- a/tools/run_tests/run_python.sh +++ b/tools/run_tests/run_python.sh @@ -43,22 +43,6 @@ export LDFLAGS="-L$ROOT/libs/$CONFIG" export GRPC_PYTHON_BUILD_WITH_CYTHON=1 export GRPC_PYTHON_ENABLE_CYTHON_TRACING=1 -VIRTUALENV=python"$PYVER"_virtual_environment -source $VIRTUALENV/bin/activate - -(rm $GRPCIO/.coverage) || true -(rm $GRPCIO/.coverage.*) || true - -if python -u $GRPCIO/setup.py test; then - EXIT_CODE=0 -else - EXIT_CODE=$? -fi - -cp $GRPCIO/report.xml $ROOT - cd $GRPCIO -(coverage combine) || true -(coverage report --include='grpc/*' --omit='grpc/framework/alpha/*','grpc/early_adopter/*','grpc/framework/base/*''grpc/framework/face/*') || true +tox -exit $EXIT_CODE -- cgit v1.2.3