gorealis v2 refactor (#5)
* Changing default timeout for start maintenance. * Upgrading dependencies to gorealis v2 and thrift 0.12.0 * Refactored to update to gorealis v2.
This commit is contained in:
parent
ad4dd9606e
commit
6ab5c9334d
1335 changed files with 137431 additions and 61530 deletions
11
vendor/git.apache.org/thrift.git/test/go/Makefile.am
generated
vendored
11
vendor/git.apache.org/thrift.git/test/go/Makefile.am
generated
vendored
|
@ -19,8 +19,7 @@
|
|||
|
||||
BUILT_SOURCES = gopath
|
||||
|
||||
THRIFT = $(top_builddir)/compiler/cpp/thrift
|
||||
THRIFTCMD = $(THRIFT) -out src/gen --gen go:thrift_import=thrift
|
||||
THRIFTCMD = $(THRIFT) -out src/gen --gen go:thrift_import=thrift$(COMPILER_EXTRAFLAG)
|
||||
THRIFTTEST = $(top_srcdir)/test/ThriftTest.thrift
|
||||
|
||||
precross: bin/testclient bin/testserver
|
||||
|
@ -28,13 +27,17 @@ precross: bin/testclient bin/testserver
|
|||
ThriftTest.thrift: $(THRIFTTEST)
|
||||
grep -v list.*map.*list.*map $(THRIFTTEST) > ThriftTest.thrift
|
||||
|
||||
.PHONY: gopath
|
||||
|
||||
# Thrift for GO has problems with complex map keys: THRIFT-2063
|
||||
gopath: $(THRIFT) ThriftTest.thrift
|
||||
mkdir -p src/gen
|
||||
$(THRIFTCMD) ThriftTest.thrift
|
||||
$(THRIFTCMD) ../StressTest.thrift
|
||||
ln -nfs ../../../lib/go/thrift src/thrift
|
||||
GOPATH=`pwd` $(GO) get github.com/golang/mock/gomock || true
|
||||
sed -i 's/\"context\"/\"golang.org\/x\/net\/context\"/g' src/github.com/golang/mock/gomock/controller.go || true
|
||||
GOPATH=`pwd` $(GO) get github.com/golang/mock/gomock
|
||||
ln -nfs ../../../lib/go/thrift src/thrift
|
||||
touch gopath
|
||||
|
||||
bin/testclient: gopath
|
||||
|
@ -51,7 +54,7 @@ clean-local:
|
|||
|
||||
check_PROGRAMS: bin/testclient bin/testserver bin/stress
|
||||
|
||||
check: gopath
|
||||
check: gopath genmock
|
||||
GOPATH=`pwd` $(GO) test -v common/...
|
||||
|
||||
genmock: gopath
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue