2014-10-29 07:14:27 +08:00
|
|
|
#!/bin/bash -e
|
|
|
|
TARGET='Test Service Server'
|
2015-01-28 02:25:39 +08:00
|
|
|
TARGET_CLASS='io.grpc.testing.integration.TestServiceServer'
|
2014-10-29 07:14:27 +08:00
|
|
|
|
2015-01-27 06:03:11 +08:00
|
|
|
TARGET_ARGS=''
|
|
|
|
for i in "$@"; do
|
|
|
|
TARGET_ARGS="$TARGET_ARGS, '$i'"
|
|
|
|
done
|
|
|
|
TARGET_ARGS="${TARGET_ARGS:2}"
|
|
|
|
|
2015-02-18 05:46:09 +08:00
|
|
|
cd "$(dirname "$(readlink -f "$0")")"
|
2014-10-29 07:14:27 +08:00
|
|
|
echo "[INFO] Running: $TARGET ($TARGET_CLASS $TARGET_ARGS)"
|
2015-02-18 04:44:28 +08:00
|
|
|
./gradlew -PmainClass="$TARGET_CLASS" -PappArgs="[$TARGET_ARGS]" :grpc-integration-testing:execute
|