mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-07 11:22:10 +02:00
Makefile: add testing_flags to coverage test
This commit is contained in:
2
Makefile
2
Makefile
@@ -190,7 +190,7 @@ unit-debug: $(BTCD_BIN)
|
|||||||
|
|
||||||
unit-cover: $(GOACC_BIN)
|
unit-cover: $(GOACC_BIN)
|
||||||
@$(call print, "Running unit coverage tests.")
|
@$(call print, "Running unit coverage tests.")
|
||||||
$(GOACC_BIN) $(COVER_PKG) -- -tags="$(DEV_TAGS) $(LOG_TAGS)"
|
$(GOACC)
|
||||||
|
|
||||||
unit-race:
|
unit-race:
|
||||||
@$(call print, "Running unit race tests.")
|
@$(call print, "Running unit race tests.")
|
||||||
|
@@ -116,3 +116,6 @@ endif
|
|||||||
|
|
||||||
# Construct the integration test command with the added build flags.
|
# Construct the integration test command with the added build flags.
|
||||||
ITEST_TAGS := $(DEV_TAGS) $(RPC_TAGS) integration $(backend)
|
ITEST_TAGS := $(DEV_TAGS) $(RPC_TAGS) integration $(backend)
|
||||||
|
|
||||||
|
# Construct the coverage test command with the added build flags.
|
||||||
|
GOACC := $(GOACC_BIN) $(COVER_PKG) -- -tags="$(DEV_TAGS) $(LOG_TAGS)" $(TEST_FLAGS)
|
||||||
|
Reference in New Issue
Block a user