aboutsummaryrefslogtreecommitdiff
path: root/run-test-client.sh
diff options
context:
space:
mode:
authornathanmittler <nathanmittler@google.com>2014-10-28 16:14:27 -0700
committerEric Anderson <ejona@google.com>2015-01-08 14:43:02 -0800
commitffc18f6c57d30ce8763a16e760861bd59c3bf1cf (patch)
tree1e53d30ad4d062959cc3bcb821c136c92f76bc42 /run-test-client.sh
parent7dc48e27877c97117a853e761c919b0eed4b4ff9 (diff)
downloadgrpc-grpc-java-ffc18f6c57d30ce8763a16e760861bd59c3bf1cf.tar.gz
Adding MOE configuration for grpc_java.
The TestService proto is temporarily supplied as a generated jar (until the open source protoc compiler supports grpc). Copies of messages.proto, empty.proto, and message_set.proto are scrubbed and included in the source under integration-testing. ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=78711468
Diffstat (limited to 'run-test-client.sh')
-rwxr-xr-xrun-test-client.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/run-test-client.sh b/run-test-client.sh
new file mode 100755
index 000000000..75808fc84
--- /dev/null
+++ b/run-test-client.sh
@@ -0,0 +1,8 @@
+#!/bin/bash -e
+TARGET='Test Service Client'
+TARGET_CLASS='com.google.net.stubby.testing.integration.TestServiceClient'
+TARGET_ARGS="$@"
+
+cd "`dirname "$0"`"/integration-testing
+echo "[INFO] Running: $TARGET ($TARGET_CLASS $TARGET_ARGS)"
+exec mvn -q -nsu compile exec:exec -Dcheckstyle.skip=true -DexampleClass="$TARGET_CLASS" -DargLine.example="$TARGET_ARGS" \ No newline at end of file