make: add benchmark tests

Add benchmark tests as a separate test run besides the current
unit tests.
This commit is contained in:
ziggie
2023-01-26 20:03:03 +01:00
parent 8f4e9d68d0
commit 469dfd5f42
2 changed files with 8 additions and 0 deletions

View File

@@ -196,6 +196,10 @@ unit-race:
@$(call print, "Running unit race tests.")
env CGO_ENABLED=1 GORACE="history_size=7 halt_on_errors=1" $(UNIT_RACE)
unit-bench: $(BTCD_BIN)
@$(call print, "Running benchmark tests.")
$(UNIT_BENCH)
# =============
# FLAKE HUNTING
# =============