diff options
Diffstat (limited to 'tools/gce_setup')
-rwxr-xr-x | tools/gce_setup/grpc_docker.sh | 11 | ||||
-rwxr-xr-x | tools/gce_setup/interop_test_runner.sh | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/tools/gce_setup/grpc_docker.sh b/tools/gce_setup/grpc_docker.sh index 318bfc8868..3deef05ef3 100755 --- a/tools/gce_setup/grpc_docker.sh +++ b/tools/gce_setup/grpc_docker.sh @@ -921,6 +921,17 @@ grpc_interop_gen_ruby_cmd() { echo $the_cmd } +# constructs the full dockerized python interop test cmd. +# +# call-seq: +# flags= .... # generic flags to include the command +# cmd=$($grpc_gen_test_cmd $flags) +grpc_interop_gen_python_cmd() { + local cmd_prefix="sudo docker run grpc/python bin/bash -l -c" + local the_cmd="$cmd_prefix 'python -B -m interop.client --use_test_ca --use_tls $@'" + echo $the_cmd +} + # constructs the full dockerized java interop test cmd. # # call-seq: diff --git a/tools/gce_setup/interop_test_runner.sh b/tools/gce_setup/interop_test_runner.sh index 90a78b1264..430ad09b8c 100755 --- a/tools/gce_setup/interop_test_runner.sh +++ b/tools/gce_setup/interop_test_runner.sh @@ -36,7 +36,7 @@ echo $result_file_name main() { source grpc_docker.sh test_cases=(large_unary empty_unary ping_pong client_streaming server_streaming cancel_after_begin cancel_after_first_response) - clients=(cxx java go ruby node csharp_mono) + clients=(cxx java go ruby node python csharp_mono) servers=(cxx java go ruby node python) for test_case in "${test_cases[@]}" do |