aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/run_python.sh
diff options
context:
space:
mode:
authorGravatar Masood Malekghassemi <soltanmm@users.noreply.github.com>2015-08-21 14:22:11 -0700
committerGravatar Masood Malekghassemi <soltanmm@users.noreply.github.com>2015-08-21 14:22:11 -0700
commit71e29ef459378f404ad4377e960792435864f878 (patch)
tree7fb5af5cde4a83bc9ef17b5bdfd7b8bc5eac106a /tools/run_tests/run_python.sh
parentf36e1b74b5b20f80439b6204389f8d2a9e8d761c (diff)
Add new core tests to run_tests/run_python.sh
The tests don't currently get discovered by py.test due to their use of the Python 2.7+ load_tests protocol.
Diffstat (limited to 'tools/run_tests/run_python.sh')
-rwxr-xr-xtools/run_tests/run_python.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/run_tests/run_python.sh b/tools/run_tests/run_python.sh
index 6f80219b0e..6fdca93fd5 100755
--- a/tools/run_tests/run_python.sh
+++ b/tools/run_tests/run_python.sh
@@ -39,4 +39,12 @@ export LD_LIBRARY_PATH=$ROOT/libs/$CONFIG
export DYLD_LIBRARY_PATH=$ROOT/libs/$CONFIG
export PATH=$ROOT/bins/$CONFIG:$ROOT/bins/$CONFIG/protobuf:$PATH
source "python"$PYVER"_virtual_environment"/bin/activate
+
+# TODO(atash): These tests don't currently run under py.test and thus don't
+# appear under the coverage report. Find a way to get these tests to work with
+# py.test (or find another tool or *something*) that's acceptable to the rest of
+# the team...
+"python"$PYVER -m grpc_test._core_over_links_base_interface_test
+"python"$PYVER -m grpc_test.framework.core._base_interface_test
+
"python"$PYVER $GRPCIO_TEST/setup.py test -a "-n8 --cov=grpc --junitxml=./report.xml"