Skip to content

Commit aa9aa61

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 430988b + 1525313 commit aa9aa61

File tree

10 files changed

+214
-68
lines changed

10 files changed

+214
-68
lines changed

build.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def toolchainLauncher = javaToolchains.launcherFor {
4646

4747
def checkstyleVersion = '8.39'
4848
def hamcrestVersion = '2.2'
49-
def mockitoVersion = '3.9.0'
49+
def mockitoVersion = '3.10.0'
5050
def byteBuddyVersion = '1.11.0'
5151
def junitVersion = '5.7.1'
5252
def jmhVersion = '1.31'
@@ -618,6 +618,9 @@ task generateGolangCodecsWithXSD(type: JavaExec) {
618618
'sbe-tool/src/test/resources/issue488.xml',
619619
'sbe-tool/src/test/resources/issue560.xml',
620620
'sbe-tool/src/test/resources/issue661.xml',
621+
'sbe-tool/src/test/resources/issue847.xml',
622+
'sbe-tool/src/test/resources/issue848.xml',
623+
'sbe-tool/src/test/resources/issue849.xml',
621624
'sbe-tool/src/test/resources/since-deprecated-test-schema.xml',
622625
'sbe-tool/src/test/resources/example-bigendian-test-schema.xml',
623626
'gocode/resources/example-composite.xml',

gocode/Makefile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
ROOT=..
22
SBE_TOOL_VERSION=$(shell cat $(ROOT)/version.txt)
33
SBE_JAR=$(ROOT)/sbe-all/build/libs/sbe-all-${SBE_TOOL_VERSION}.jar
4+
45
# FIXME: Go doesn't like relative paths so us a gnumake extension for now
56
GOPATH=$(realpath $(ROOT)/gocode)
67

8+
# GO111MODULE=off is required for building with Go 1.16
9+
# GOPATH-style support will be removed in Go 1.17
10+
export GO111MODULE=off
711

812
# Convenience during development
913
#SAVE_FORMAT=mkdir -p fmt && cp *.go fmt &&
@@ -25,7 +29,7 @@ $(DEP): $(SBE_JAR)
2529
go fmt && \
2630
go test)
2731

28-
# Wil regenerate codecs by removing dependencies
32+
# Will regenerate codecs by removing dependencies
2933
clean:
3034
rm -f src/*/SbeMarshalling.go src/*/*/SbeMarshalling.go
3135

@@ -56,7 +60,7 @@ src/baseline/SbeMarshalling.go: $(DEP)
5660
# The first set does a make install as there is a test that uses
5761
# multiple packages and needs them in GOPATH The second set work in
5862
# src/foo, and the third need a GOPATH addition as for Java and C++
59-
# they geenrate into the same directory but golang doesn't allow that
63+
# they generate into the same directory but golang doesn't allow that
6064
test: $(DEP)
6165
(export GOPATH=$(GOPATH) && \
6266
(for t in baseline extension; do \
@@ -68,7 +72,7 @@ test: $(DEP)
6872
go install \
6973
;done))
7074
(export GOPATH=$(GOPATH) && \
71-
(for t in baseline-bigendian mktdata group_with_data group_with_data_extension composite_elements composite since-deprecated simple issue435 issue472 issue483 issue488 issue560; do \
75+
(for t in baseline-bigendian mktdata group_with_data group_with_data_extension composite_elements composite since-deprecated simple issue435 issue472 issue483 issue488 issue560 issue847 issue848 issue849; do \
7276
cd $(GOPATH)/src/$$t && \
7377
go build && \
7478
go fmt && \
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
package issue847
2+
3+
import (
4+
"testing"
5+
)
6+
7+
func TestNothing(t *testing.T) {
8+
// placeholder, really just looking for clean builds
9+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
package issue848
2+
3+
import (
4+
"testing"
5+
)
6+
7+
func TestNothing(t *testing.T) {
8+
// placeholder, really just looking for clean builds
9+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
package issue849
2+
3+
import (
4+
"testing"
5+
)
6+
7+
func TestNothing(t *testing.T) {
8+
// placeholder, really just looking for clean builds
9+
}

0 commit comments

Comments
 (0)