make: use low-scrypt to speed up unit-race
This predominately affects the lnwallet unit tests which are the bulk of the execution time.
This commit is contained in:
parent
08bb8abaa3
commit
1483ed119b
@ -1,4 +1,4 @@
|
|||||||
// +build rpctest
|
// +build rpctest lowscrypt
|
||||||
|
|
||||||
package btcwallet
|
package btcwallet
|
||||||
|
|
||||||
|
@ -86,7 +86,7 @@ UNIT_TARGETED ?= no
|
|||||||
# targeted case. Otherwise, default to running all tests.
|
# targeted case. Otherwise, default to running all tests.
|
||||||
ifeq ($(UNIT_TARGETED), yes)
|
ifeq ($(UNIT_TARGETED), yes)
|
||||||
UNIT := $(GOTEST) -tags="$(DEV_TAGS) $(LOG_TAGS)" $(TEST_FLAGS) $(UNITPKG)
|
UNIT := $(GOTEST) -tags="$(DEV_TAGS) $(LOG_TAGS)" $(TEST_FLAGS) $(UNITPKG)
|
||||||
UNIT_RACE := $(GOTEST) -tags="$(DEV_TAGS) $(LOG_TAGS)" $(TEST_FLAGS) -race $(UNITPKG)
|
UNIT_RACE := $(GOTEST) -tags="$(DEV_TAGS) $(LOG_TAGS) lowscrypt" $(TEST_FLAGS) -race $(UNITPKG)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(UNIT_TARGETED), no)
|
ifeq ($(UNIT_TARGETED), no)
|
||||||
|
Loading…
Reference in New Issue
Block a user