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 committed 2020-12-10 17:42:26 -08:00
1 parent 08bb8abaa3
commit 1483ed119b
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
// +build rpctest
// +build rpctest lowscrypt
package btcwallet
+1 -1
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)