Merge pull request #1881 from halseth/neutrino-integration-tests

Neutrino integration tests
This commit is contained in:
Olaoluwa Osuntokun
2019-05-27 16:09:44 -07:00
committed by GitHub
9 changed files with 162 additions and 39 deletions

View File

@@ -35,7 +35,7 @@ endif
ifneq ($(timeout),)
TEST_FLAGS += -test.timeout=$(timeout)
else
TEST_FLAGS += -test.timeout=30m
TEST_FLAGS += -test.timeout=40m
endif
# UNIT_TARGTED is undefined iff a specific package and/or unit test case is
@@ -57,4 +57,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