File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -57,9 +57,6 @@ XARGS := xargs -L 1
57
57
58
58
LINT = $(LINT_BIN ) run -v
59
59
60
- UNIT := $(GOLIST ) | $(XARGS ) env $(GOTEST )
61
- UNIT_RACE := $(UNIT ) -race
62
-
63
60
include make/release_flags.mk
64
61
include make/testing_flags.mk
65
62
@@ -199,7 +196,7 @@ check: unit
199
196
unit :
200
197
@$(call print, "Running unit tests.")
201
198
mkdir -p app/build && touch app/build/index.html
202
- $(UNIT ) -tags= " $( LND_RELEASE_TAGS ) "
199
+ $(UNIT )
203
200
204
201
unit-cover : $(GOACC_BIN )
205
202
@$(call print, "Running unit coverage tests.")
@@ -208,7 +205,7 @@ unit-cover: $(GOACC_BIN)
208
205
unit-race :
209
206
@$(call print, "Running unit race tests.")
210
207
mkdir -p app/build && touch app/build/index.html
211
- env CGO_ENABLED=1 GORACE=" history_size=7 halt_on_errors=1" $(UNIT_RACE ) -tags= " $( LND_RELEASE_TAGS ) "
208
+ env CGO_ENABLED=1 GORACE=" history_size=7 halt_on_errors=1" $(UNIT_RACE )
212
209
213
210
clean-itest :
214
211
@$(call print, "Cleaning itest binaries.")
Original file line number Diff line number Diff line change
1
+ include make/compile_flags.mk
2
+
1
3
ITEST_FLAGS =
2
4
3
5
# Define the integration test.run filter if the icase argument was provided.
4
6
ifneq ($(icase ) ,)
5
7
ITEST_FLAGS += -test.run="TestLightningTerminal/$(icase ) "
6
8
endif
9
+
10
+ UNIT := $(GOLIST ) | $(XARGS ) env $(GOTEST ) -tags="$(COMPILE_TAGS ) "
11
+ UNIT_RACE := $(UNIT ) -race
You can’t perform that action at this time.
0 commit comments