aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/run_python.sh
diff options
context:
space:
mode:
authorGravatar Masood Malekghassemi <soltanmm@users.noreply.github.com>2015-12-03 16:42:36 -0800
committerGravatar Masood Malekghassemi <soltanmm@users.noreply.github.com>2015-12-04 17:26:07 -0800
commitd00241e65c9e7599d15cbaf47ff34630da6461cd (patch)
tree00e4f4f46aee2a34c8a2ad08f45a4fa335a27d51 /tools/run_tests/run_python.sh
parent0a9cc3cf108e0d3589a952caec65f6d463a9c678 (diff)
Use tox
Diffstat (limited to 'tools/run_tests/run_python.sh')
-rwxr-xr-xtools/run_tests/run_python.sh18
1 files changed, 1 insertions, 17 deletions
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