aboutsummaryrefslogtreecommitdiff
path: root/tests.sh
diff options
context:
space:
mode:
authorFeng Xiao <xfxyjwf@gmail.com>2017-09-12 12:00:20 -0700
committerFeng Xiao <xfxyjwf@gmail.com>2017-09-13 17:04:13 -0700
commit8136ccb296814e22017ff91d260f0c1d02701486 (patch)
tree7320e7602fa3a71cf9d8002fff1cb10021b61faa /tests.sh
parented0a07eadde7b6705e382a0f336c335343c804a4 (diff)
downloadprotobuf-8136ccb296814e22017ff91d260f0c1d02701486.tar.gz
protobuf-8136ccb296814e22017ff91d260f0c1d02701486.tar.bz2
protobuf-8136ccb296814e22017ff91d260f0c1d02701486.zip
Fix go example test.
It needs "-I" flag to find imported file google/protobuf/timestamp.proto
Diffstat (limited to 'tests.sh')
-rwxr-xr-xtests.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests.sh b/tests.sh
index 5aba663d..689b8913 100755
--- a/tests.sh
+++ b/tests.sh
@@ -129,7 +129,7 @@ build_golang() {
export PATH="$GOPATH/bin:$PATH"
go get github.com/golang/protobuf/protoc-gen-go
- cd examples && make gotest && cd ..
+ cd examples && PROTO_PATH="-I../src -I." make gotest && cd ..
}
use_java() {