diff options
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 |