Skip to content

Commit 82b569d

Browse files
jharveybZZiigguurraatt
authored and
ZZiigguurraatt
committed
make: separate rebuilding itest litd and itest run
1 parent aa8080d commit 82b569d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -217,11 +217,12 @@ build-itest: app-build
217217
CGO_ENABLED=0 $(GOBUILD) -tags="$(ITEST_TAGS)" -o itest/btcd-itest -ldflags "$(ITEST_LDFLAGS)" $(BTCD_PKG)
218218
CGO_ENABLED=0 $(GOBUILD) -tags="$(ITEST_TAGS)" -o itest/lnd-itest -ldflags "$(ITEST_LDFLAGS)" $(LND_PKG)/cmd/lnd
219219

220-
itest-only:
220+
build-itest-litd:
221221
@$(call print, "Building itest binary.")
222222
CGO_ENABLED=0 $(GOBUILD) -tags="$(ITEST_TAGS)" -o itest/litd-itest -ldflags "$(ITEST_LDFLAGS)" $(PKG)/cmd/litd
223223
CGO_ENABLED=0 $(GOTEST) -v ./itest -tags="$(DEV_TAGS) $(ITEST_TAGS)" -c -o itest/itest.test
224224

225+
itest-only: build-itest-litd
225226
@$(call print, "Running integration tests.")
226227
rm -rf itest/*.log itest/.logs*; date
227228
scripts/itest_part.sh $(ITEST_FLAGS)

0 commit comments

Comments
 (0)