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:
Conner Fromknecht 2020-12-10 15:05:22 -08:00
parent 08bb8abaa3
commit 1483ed119b
No known key found for this signature in database
GPG Key ID: E7D737B67FA592C7
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
// +build rpctest
// +build rpctest lowscrypt
package btcwallet

View File

@ -86,7 +86,7 @@ UNIT_TARGETED ?= no
# targeted case. Otherwise, default to running all tests.
ifeq ($(UNIT_TARGETED), yes)
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
ifeq ($(UNIT_TARGETED), no)