diff options
author | 2017-10-26 17:59:18 -0700 | |
---|---|---|
committer | 2017-11-06 11:28:42 -0800 | |
commit | 1487c9fa525a5d2617edecc63518eca5c38150ec (patch) | |
tree | d628e16366b3ff6ee2ad227c65567c163e7357e5 /tools/interop_matrix/create_testcases.sh | |
parent | 68100093eb05e83b0d8a02ec9e429e1e11896cd4 (diff) |
Add Python
Diffstat (limited to 'tools/interop_matrix/create_testcases.sh')
-rwxr-xr-x | tools/interop_matrix/create_testcases.sh | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/tools/interop_matrix/create_testcases.sh b/tools/interop_matrix/create_testcases.sh index 3d34b2ef25..2ea2d3ad90 100755 --- a/tools/interop_matrix/create_testcases.sh +++ b/tools/interop_matrix/create_testcases.sh @@ -31,11 +31,16 @@ TESTCASES_DIR=${GRPC_ROOT}/tools/interop_matrix/testcases echo "Create '$LANG' test cases for gRPC release '${RELEASE:=master}'" -echo $client_lang # Invoke run_interop_test in manual mode. # TODO(adelez): Add cloud_gateways when we figure out how to skip them if not # running in GCE. -${GRPC_ROOT}/tools/run_tests/run_interop_tests.py -l $LANG --use_docker \ +if [ $LANG == "cxx" ]; then +client_lang="c++" +else +client_lang=$LANG +fi +echo $client_lang +${GRPC_ROOT}/tools/run_tests/run_interop_tests.py -l $client_lang --use_docker \ --cloud_to_prod --prod_servers default gateway_v4 --manual_run # Clean up @@ -59,14 +64,8 @@ trap cleanup EXIT # Running the testcases as sanity unless we are asked to skip. [ -z "$SKIP_TEST" ] && (echo "Running test cases: $CMDS_SH"; sh $CMDS_SH) -# Convert c++ to cxx. -if [$LANG == "c++" ]; then -client_lang="cxx" -else -client_lang=$LANG -fi mkdir -p $TESTCASES_DIR -testcase=$TESTCASES_DIR/${client_lang}__$RELEASE +testcase=$TESTCASES_DIR/${LANG}__$RELEASE if [ -e $testcase ]; then echo "Updating: $testcase" diff $testcase $CMDS_SH || true |