File: run-test-server.sh

package info (click to toggle)
grpc-java 1.41.3%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 16,884 kB
  • sloc: java: 203,784; xml: 1,224; sh: 1,221; cpp: 1,158; makefile: 40; python: 40
file content (11 lines) | stat: -rwxr-xr-x 295 bytes parent folder | download | duplicates (3)
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" "$@"