File tree Expand file tree Collapse file tree 5 files changed +12
-12
lines changed Expand file tree Collapse file tree 5 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -45,9 +45,6 @@ COPY --from=nodejsbuilder /go/src/github.com/lightninglabs/lightning-terminal /g
45
45
# queries required to connect to linked containers succeed.
46
46
ENV GODEBUG netdns=cgo
47
47
48
- # Explicitly turn on the use of modules (until this becomes the default).
49
- ENV GO111MODULE on
50
-
51
48
# Install dependencies and install/build lightning-terminal.
52
49
RUN apk add --no-cache --update alpine-sdk \
53
50
make \
Original file line number Diff line number Diff line change @@ -33,11 +33,11 @@ POOL_COMMIT := $(shell cat go.mod | \
33
33
LINT_COMMIT := v1.18.0
34
34
GOACC_COMMIT := ddc355013f90fea78d83d3a6c71f1d37ac07ecd5
35
35
36
- DEPGET := cd /tmp && GO111MODULE=on go get -v
37
- GOBUILD := GO111MODULE=on go build -v
38
- GOINSTALL := GO111MODULE=on go install -v
39
- GOTEST := GO111MODULE=on go test -v
40
- GOMOD := GO111MODULE=on go mod
36
+ DEPGET := cd /tmp && go get -v
37
+ GOBUILD := go build -v
38
+ GOINSTALL := go install -v
39
+ GOTEST := go test -v
40
+ GOMOD := go mod
41
41
42
42
GOFILES_NOVENDOR = $(shell find . -type f -name '* .go' -not -path "./vendor/* ")
43
43
GOLIST := go list -deps $(PKG ) /... | grep '$(PKG ) '| grep -v '/vendor/'
@@ -54,6 +54,7 @@ UNIT := $(GOLIST) | $(XARGS) env $(GOTEST)
54
54
UNIT_RACE := $(UNIT ) -race
55
55
56
56
include make/release_flags.mk
57
+ include make/testing_flags.mk
57
58
58
59
# We only return the part inside the double quote here to avoid escape issues
59
60
# when calling the external release script. The second parameter can be used to
Original file line number Diff line number Diff line change @@ -23,9 +23,6 @@ COPY --from=nodejsbuilder /go/src/github.com/lightninglabs/lightning-terminal /g
23
23
# queries required to connect to linked containers succeed.
24
24
ENV GODEBUG netdns=cgo
25
25
26
- # Explicitly turn on the use of modules (until this becomes the default).
27
- ENV GO111MODULE on
28
-
29
26
# Install dependencies and install/build lightning-terminal.
30
27
RUN apk add --no-cache --update alpine-sdk \
31
28
make \
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ ARG GRPC_GATEWAY_VERSION
14
14
ENV PROTOC_GEN_GO_GRPC_VERSION="v1.1.0"
15
15
16
16
RUN cd /tmp \
17
- && export GO111MODULE=on \
18
17
&& go get google.golang.org/protobuf/cmd/protoc-gen-go@${PROTOBUF_VERSION} \
19
18
&& go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@${PROTOC_GEN_GO_GRPC_VERSION} \
20
19
&& go get github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway@${GRPC_GATEWAY_VERSION} \
Original file line number Diff line number Diff line change
1
+ ITEST_FLAGS =
2
+
3
+ # Define the integration test.run filter if the icase argument was provided.
4
+ ifneq ($(icase ) ,)
5
+ ITEST_FLAGS += -test.run="TestLightningTerminal/.*/$(icase ) "
6
+ endif
You can’t perform that action at this time.
0 commit comments