File: run-test-server.sh

package info (click to toggle)
grpc-java 1.26.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 11,852 kB
  • sloc: java: 146,813; cpp: 1,174; xml: 1,037; sh: 662; makefile: 40; python: 40
file content (11 lines) | stat: -rwxr-xr-x 295 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash -e
cd "$(dirname "$0")"
BIN="./interop-testing/build/install/grpc-interop-testing/bin/test-server"
if [[ ! -e "$BIN" ]]; then
  cat >&2 <<EOF
Could not find binary. It can be built with:
./gradlew :grpc-interop-testing:installDist -PskipCodegen=true
EOF
  exit 1
fi
exec "$BIN" "$@"