make: add backend tag for itests

Defaults to running itests with btcd.
This commit is contained in:
Johan T. Halseth committed 2019-05-27 09:29:02 +02:00
1 parent 8e8bb9ff09
commit 3df0821aa3
2 files changed
+10 -2

No files matched your search

+8
View File
@@ -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