mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-18 19:41:21 +02:00
make: add backend tag for itests
Defaults to running itests with btcd.
This commit is contained in:
@@ -55,4 +55,12 @@ endif
|
||||
|
||||
# Construct the integration test command with the added build flags.
|
||||
ITEST_TAGS := $(DEV_TAGS) rpctest chainrpc walletrpc signrpc invoicesrpc autopilotrpc routerrpc
|
||||
|
||||
# Default to btcd backend if not set.
|
||||
ifneq ($(backend),)
|
||||
ITEST_TAGS += ${backend}
|
||||
else
|
||||
ITEST_TAGS += btcd
|
||||
endif
|
||||
|
||||
ITEST := rm output*.log; date; $(GOTEST) -tags="$(ITEST_TAGS)" $(TEST_FLAGS) -logoutput
|
||||
|
Reference in New Issue
Block a user