Repository: thrift
Updated Branches:
  refs/heads/master 2aa04bf38 -> 018c1b8f7


THRIFT-3102 could not make check for Go Library
Client: Go
Patch: Jens Geyer

This closes #451


Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/9f74f32a
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/9f74f32a
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/9f74f32a

Branch: refs/heads/master
Commit: 9f74f32ac88d29c8c9d0064d163a3135276d6756
Parents: 2aa04bf
Author: Jens Geyer <[email protected]>
Authored: Fri Apr 17 23:33:48 2015 +0200
Committer: Jens Geyer <[email protected]>
Committed: Sat Apr 18 00:48:21 2015 +0200

----------------------------------------------------------------------
 lib/go/test/Makefile.am | 25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/thrift/blob/9f74f32a/lib/go/test/Makefile.am
----------------------------------------------------------------------
diff --git a/lib/go/test/Makefile.am b/lib/go/test/Makefile.am
index 38a0968..aa3d95b 100644
--- a/lib/go/test/Makefile.am
+++ b/lib/go/test/Makefile.am
@@ -18,6 +18,7 @@
 #
 
 THRIFT = $(top_builddir)/compiler/cpp/thrift
+THRIFTARGS = -out gopath/src/ --gen go:thrift_import=thrift
 THRIFTTEST = $(top_srcdir)/test/ThriftTest.thrift
 
 # Thrift for GO has problems with complex map keys: THRIFT-2063
@@ -36,18 +37,18 @@ gopath: $(THRIFT) $(THRIFTTEST) \
                                InitialismsTest.thrift
        mkdir -p gopath/src
        grep -v list.*map.*list.*map $(THRIFTTEST) | grep -v 'set<Insanity>' > 
ThriftTest.thrift
-       $(THRIFT) -r IncludesTest.thrift
-       $(THRIFT) BinaryKeyTest.thrift
-       $(THRIFT) MultiplexedProtocolTest.thrift
-       $(THRIFT) OnewayTest.thrift
-       $(THRIFT) OptionalFieldsTest.thrift
-       $(THRIFT) ServicesTest.thrift
-       $(THRIFT) GoTagTest.thrift
-       $(THRIFT) TypedefFieldTest.thrift
-       $(THRIFT) RefAnnotationFieldsTest.thrift
-       $(THRIFT) ErrorTest.thrift
-       $(THRIFT) NamesTest.thrift
-       $(THRIFT) InitialismsTest.thrift
+       $(THRIFT) $(THRIFTARGS) -r IncludesTest.thrift
+       $(THRIFT) $(THRIFTARGS) BinaryKeyTest.thrift
+       $(THRIFT) $(THRIFTARGS) MultiplexedProtocolTest.thrift
+       $(THRIFT) $(THRIFTARGS) OnewayTest.thrift
+       $(THRIFT) $(THRIFTARGS) OptionalFieldsTest.thrift
+       $(THRIFT) $(THRIFTARGS) ServicesTest.thrift
+       $(THRIFT) $(THRIFTARGS) GoTagTest.thrift
+       $(THRIFT) $(THRIFTARGS) TypedefFieldTest.thrift
+       $(THRIFT) $(THRIFTARGS) RefAnnotationFieldsTest.thrift
+       $(THRIFT) $(THRIFTARGS) ErrorTest.thrift
+       $(THRIFT) $(THRIFTARGS) NamesTest.thrift
+       $(THRIFT) $(THRIFTARGS) InitialismsTest.thrift
        GOPATH=`pwd`/gopath $(GO) get code.google.com/p/gomock/gomock
        ln -nfs ../../../thrift gopath/src/thrift
        ln -nfs ../../tests gopath/src/tests

Reply via email to