diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2016-05-05 08:01:40 -0700 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2016-05-05 08:01:40 -0700 |
commit | 4ead664c33bc4c613fc7c33f73e7bcf08cc37428 (patch) | |
tree | 4fb923db8d59592049b722a7166f389b0d090257 /test/distrib/python | |
parent | 751fbb06f6d2040d49d6c3d89192eb08a1c6cff4 (diff) |
small addendum for python distribtests
Diffstat (limited to 'test/distrib/python')
-rwxr-xr-x | test/distrib/python/run_distrib_test.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/distrib/python/run_distrib_test.sh b/test/distrib/python/run_distrib_test.sh index e20767a885..6196e540c8 100755 --- a/test/distrib/python/run_distrib_test.sh +++ b/test/distrib/python/run_distrib_test.sh @@ -34,6 +34,7 @@ cd $(dirname $0) # Pick up the source dist archive whatever its version is BDIST_ARCHIVES=$EXTERNAL_GIT_ROOT/input_artifacts/grpcio-*.whl +TOOLS_BDIST_ARCHIVES=$EXTERNAL_GIT_ROOT/input_artifacts/grpcio_tools-*.whl if [ ! -f ${SDIST_ARCHIVE} ] then @@ -51,9 +52,12 @@ ${PIP} install --upgrade six pip # At least one of the bdist packages has to succeed (whichever one matches the # test machine, anyway). -for bdist in ${BDIST_ARCHIVES}; do +for bdist in ${BDIST_ARCHIVES} ${TOOLS_BDIST_ARCHIVES}; do ($PYTHON -m pip install $bdist) || true done -$PYTHON distribtest.py +# TODO(jtattermusch): add a .proto file to the distribtest, generate python +# code from it and then use the generated code from distribtest.py +$PYTHON -m grpc.protoc.compiler +$PYTHON distribtest.py |