summaryrefslogtreecommitdiff
path: root/test/go/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* Use multi-module to cleanup top level go.modYuxuan 'fishy' Wang2022-11-021-10/+6
| | | | | | | | | | | | | | | | | Client: go The go library itself does not have any third-party dependencies. We have one third party dependency from the test code, which kind of polluted from top-level go.mod file to the users of thrift go library. We previous tried to clean that up by creating go.mod file at lib/go/thrift, which caused issues to the release process and thus reverted. Use multi-module to separate tests requiring mock to their own modules so that we can keep the top-level go.mod file clean. Also some minor fixes on the github actions go workflow.
* THRIFT-5650: Implement UUID in Go compilerYuxuan 'fishy' Wang2022-10-261-1/+3
| | | | Client: go
* Replace ThriftTest.thrift with v0.16/ThriftTest.thrift to allow for merging ↵Jens Geyer2022-09-051-1/+1
| | | | the partially completed uuid implementation to master
* Update Go versions used in travis and LANGUAGES.mdYuxuan 'fishy' Wang2022-04-251-3/+9
| | | | | | | Per our support policy, drop support of go 1.16 and add support of go 1.18. Also enable go vet in make check, and fix issues reported by go vet.
* THRIFT-5358: Add go.mod file to root directoryYuxuan 'fishy' Wang2021-03-241-9/+5
| | | | | | | | | | | | | Client: go This unblocks the development under go 1.16+, which starts to complain when there's no go.mod file in any of the directories. The current approach is certainly not the best solution ever, for example it does not run the tests under lib/go/test/tests but copy them into lib/go/test/gopath/src/sometest and run them there instead, but those improvements can be done in the future in follow up PRs and this should be a good enough first step to unblock developments.
* Consolidated gitignore & added missing EXTRA_DISTsJens Geyer2021-02-051-1/+2
|
* THRIFT-4855: Pin golang/mock to 1.2.0D. Can Celasun2019-05-101-2/+1
| | | | | | | The latest version (1.3.0) requires us to switch to Go modules for our tests, but that's not trivial given our directory structure. For now, just fix the CI issues by pinning the version.
* THRIFT-4448: Golang: do something with context.Context. Remove Go1.6 ↵John Boiles2018-03-121-4/+0
| | | | | | | | compatibility. Client: go This closes #1459
* THRIFT-4285 Move TX/RX methods from gen. code to libraryD. Can Celasun2017-11-031-0/+2
| | | | | | | | | | | This change removes a lot of duplication from generated code and allows the caller to customize how they can read from / write to the transport. Backwards compatible adapters make the change compatible with existing code in use by consuming applications. Client: Go This closes #1382
* THRIFT-4351: use travis build stages to optimize build,James E. King, III2017-10-191-2/+4
| | | | | | | | | | | | | | | | | | | | | | avoiding duplicate rebuilds of the same image, and also allow personal docker hub repositories for private fork builds to be optimized. Move ubsan build to artful image because it catches more stuff and fix what was found. THRIFT-4345: solidify docker build strategy for maximum coverage: trusty, xenial, artful as stock as they can be THRIFT-4344: add top level language summary markdown and update readme with a new image on the layered architecture THRIFT-3847: remove VERSION macro from config.h which was causing a conflict on artful builds. THRIFT-4359: fix haxe map/set decode when key is binary, as a missing break statement caused it to use an int during decode This closes #1389
* configure.ac, Makefile.am: introduce THRIFT variable to support ↵Thomas Petazzoni2017-09-091-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | cross-compilation The thrift build system currently assumes that the thrift compiler is always available in $(top_builddir)/compiler/cpp/thrift. However, in a cross-compilation context, this location contains the thrift compiler built for the target... which obviously will not run on the build machine. In order to support such cross-compilation situation, we introduce the THRIFT variable as a an argument for the configure script (using AC_ARG_VAR). If not specified, it defaults to the existing value of using compiler/cpp/thrift from the build directory, but it can be overridden when calling ./configure. Note that $(top_builddir) cannot be used within the configure script, so we simply use `pwd`, which is the same as the top_builddir. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> This closes #1336 This closes #1350
* THRIFT-4260 Go context generation issue. Context is parameter in Interface ↵taozle2017-07-251-2/+5
| | | | | | | | | not in implementation Client: Go Patch: taozle <zhangliyang26@gmail.com> This closes #1312
* THRIFT-4236 Support context in go generated codetaozle2017-07-221-1/+2
| | | | | | | Client: Go Patch: taozle <zhangliyang26@gmail.com> This closes #1309
* THRIFT-3194 Can't build with go enabled. gomock SCC path incorrect.Jens Geyer2015-06-191-2/+2
| | | | | | | Client: Go Patch: Larry Matter <larry.matter@gmail.com> This closes #524
* THRIFT-3192 Go import paths changed in 1.4, and expired June 1Jens Geyer2015-06-171-1/+1
| | | | | | | Client: Go Patch: Adam Beberg <beberg@sentient.ai> This closes #523
* THRIFT-3138 "make check" parallel execution is underministicNobuaki Sukegawa2015-05-101-0/+2
|
* THRIFT-847 Test Framework harmonization across all languagesRoger Meier2015-03-241-2/+4
| | | | | | | | THRIFT-2946 Enhance usability of cross test framework Patch: Nobuaki Sukegawa This closes: #358
* THRIFT-2768: Whitespace FixupJens Geyer2014-10-031-16/+16
| | | | | | | Client: General (Makefile.am) Patch: Jens Geyer Reverted makefile.am - tabs are not optional there
* THRIFT-2768: Whitespace FixupJens Geyer2014-10-031-16/+16
| | | | | | | Client: General (Makefile.am, *.thrift) Patch: Jens Geyer DocTest.thrift has NOT been changed, the trailing whitespaces are part of the test case.
* make clean should rm src/gen instead of emptyingJens Geyer2014-07-271-1/+1
|
* test/go: use mkdir -pRoger Meier2014-07-261-1/+1
|
* THRIFT-2602:Fix missing dist filesjfarrell2014-07-101-1/+4
| | | | | | | Client: build process Patch: jfarrell Add all missing files to the dist package.
* Fixed broken build: "thrift -out <dir>" expects that <dir> already existsJens Geyer2014-05-171-0/+1
|
* Fixed broken build (superfluous EXTRA_DIST section)Jens Geyer2014-05-171-3/+0
|
* THRIFT-2497 server and client for test/go, also several fixes and improvementsJens Geyer2014-05-081-0/+58
Client: Go Patch: Aleksey Pesternikov This closes #109 commit f2e7186ca8d63f407dba0c56ee51afd6405926ba Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net> Date: 2014-04-22T12:48:14Z add _ to generated filename if it ends with _test.go commit a6ed88196fbf4622a3b0261bbac0fe6b258bdd36 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net> Date: 2014-04-22T14:19:13Z use tcxx instead of tr1 in test/cpp commit d1848fa05f4baefc66eb405f4b1a8657bb2869bd Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local> Date: 2014-04-23T01:01:03Z Merge branch 'master' of https://github.com/apache/thrift into go_integration commit 04d22fef228d3f868b32a296a38f99ff52ee2142 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local> Date: 2014-04-25T00:34:24Z additions: test for client/server with several protocol/transport/ssl combinations bin/testclient and bin/testserver debug_transport fixes: separate Listen() and AcceptLoop() instead of Serve() in SimpleServer if handler function returns any unknown exception, handler closes connection commit ed88d57d977cffea9fac8f61143801f3097ef46c Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net> Date: 2014-04-25T13:29:54Z Generate lowercase package name lowercased pkg name in thrift files underline() -> lowercase() commit 498a910c6c6753a4b1e3633eb5c9c82be33e8c7b Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net> Date: 2014-04-25T13:32:26Z Merge branch 'master' into go_test_service_name commit 25792d7218a2c32ee3c2077f65ca7d0cea7f31f5 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net> Date: 2014-04-22T12:48:14Z add _ to generated filename if it ends with _test.go commit af994b415308a2e174d57a03675fc83d7cbd43d1 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local> Date: 2014-04-25T00:34:24Z additions: test for client/server with several protocol/transport/ssl combinations bin/testclient and bin/testserver debug_transport fixes: separate Listen() and AcceptLoop() instead of Serve() in SimpleServer if handler function returns any unknown exception, handler closes connection commit f22a777a5d5b4d93a8d7981e7aadc2c63919518a Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net> Date: 2014-04-25T13:44:08Z Merge branch 'go_integration' of github.com:apesternikov/thrift into go_integration commit 49a33c8c80ea35f923ee9aa3577780fcf41fe840 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net> Date: 2014-04-25T13:49:05Z Merge branch 'master' into test_cpp_on_mac commit 81b402ec6301f6b132c9b346ad5481f55f0aff89 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net> Date: 2014-04-25T13:56:56Z operator < for ThriftTest commit cde312d940d12077274dd0ba677ca850b5b439a7 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net> Date: 2014-04-25T14:12:58Z minor formatting commit 0a693115c2c20a2a8375f3859ff7bed261e6c8da Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net> Date: 2014-04-25T14:13:20Z Merge branch 'test_cpp_on_mac' into go_integration commit e06b5d24e8b6d429723a3c77a58c6ce903e1366a Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local> Date: 2014-04-25T15:19:20Z Merge branch 'go_test_service_name' into go_integration commit 42d577c9812a070060c773fcd0598e58e6d6ba61 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local> Date: 2014-04-25T15:39:57Z imported THRIFT-2491 lowercase package names commit 491ccf8b018c046c5ced72b1e19d9ac4ec48a6f5 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local> Date: 2014-04-25T15:51:53Z --noinsane flag for c++ TestClient. works with go server now for other default params commit 78db3c9a3a5742818a5de6e57f2fe9aed84919e5 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local> Date: 2014-04-25T16:03:23Z license