xref: /aosp_15_r20/external/grpc-grpc-java/run-test-client.sh (revision e07d83d3ffcef9ecfc9f7f475418ec639ff0e5fe)
1*e07d83d3SAndroid Build Coastguard Worker#!/bin/bash -e
2*e07d83d3SAndroid Build Coastguard Workercd "$(dirname "$0")"
3*e07d83d3SAndroid Build Coastguard WorkerBIN="./interop-testing/build/install/grpc-interop-testing/bin/test-client"
4*e07d83d3SAndroid Build Coastguard Workerif [[ ! -e "$BIN" ]]; then
5*e07d83d3SAndroid Build Coastguard Worker  cat >&2 <<EOF
6*e07d83d3SAndroid Build Coastguard WorkerCould not find binary. It can be built with:
7*e07d83d3SAndroid Build Coastguard Worker./gradlew :grpc-interop-testing:installDist -PskipCodegen=true
8*e07d83d3SAndroid Build Coastguard WorkerEOF
9*e07d83d3SAndroid Build Coastguard Worker  exit 1
10*e07d83d3SAndroid Build Coastguard Workerfi
11*e07d83d3SAndroid Build Coastguard Workerexec "$BIN" "$@"
12