diff options
author | Eric Anderson <ejona@google.com> | 2015-05-01 21:37:06 -0700 |
---|---|---|
committer | Eric Anderson <ejona@google.com> | 2015-05-05 11:11:49 -0700 |
commit | 00a7192f73d641e0dc91b9f830e1c1ade1cecd0a (patch) | |
tree | 5db2736bb7b2bb193b6d2c18b6ae269d6b6a3ad6 /run-test-client.sh | |
parent | ad44f0aa62d20d0a054d5d1fea909e9e53cdcb47 (diff) | |
download | grpc-grpc-java-00a7192f73d641e0dc91b9f830e1c1ade1cecd0a.tar.gz |
Use CreateStartScripts for integration-testing
This makes it easy to run our test client/server without running gradle
every time. For the moment we run 'installDist' in our script since that
is not performed as part of 'build' or 'assemble'. Once we fix our
scripts and improve the documentation, we can remove running installdist
from our script.
Diffstat (limited to 'run-test-client.sh')
-rwxr-xr-x | run-test-client.sh | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/run-test-client.sh b/run-test-client.sh index 78e736a1a..1e6fa0b8f 100755 --- a/run-test-client.sh +++ b/run-test-client.sh @@ -1,13 +1,4 @@ #!/bin/bash -e -TARGET='Test Service Client' -TARGET_CLASS='io.grpc.testing.integration.TestServiceClient' - -TARGET_ARGS='' -for i in "$@"; do - TARGET_ARGS="$TARGET_ARGS, '$i'" -done -TARGET_ARGS="${TARGET_ARGS:2}" - cd "$(dirname "$0")" -echo "[INFO] Running: $TARGET ($TARGET_CLASS $TARGET_ARGS)" -./gradlew -PmainClass="$TARGET_CLASS" -PappArgs="[$TARGET_ARGS]" :grpc-integration-testing:execute +./gradlew :grpc-integration-testing:installDist +./integration-testing/build/install/grpc-integration-testing/bin/test-client "$@" |