itest: add db backend flag

This commit is contained in:
Joost Jager committed 2021-07-05 10:10:02 +02:00
1 parent 387f1ef274
commit 98e75b486d
5 files changed
+47 -25

No files matched your search

+6 -3
View File
@@ -49,9 +49,12 @@ ifneq ($(icase),)
TEST_FLAGS += -test.run="TestLightningNetworkDaemon/.*-of-.*/.*/$(icase)"
endif
# Run itests with etcd backend.
ifeq ($(etcd),1)
ITEST_FLAGS += -etcd
# Run itests with specified db backend.
ifneq ($(dbbackend),)
ITEST_FLAGS += -dbbackend=$(dbbackend)
endif
ifeq ($(dbbackend),etcd)
DEV_TAGS += kvdb_etcd
endif