make: add targets unit-race and unit-postgres-race

This commit is contained in:
Boris Nagaev 2025-02-26 11:30:29 -03:00 committed by Slyghtning
parent dc4a5641ac
commit 3abd2d2235
No known key found for this signature in database
GPG key ID: F82D456EA023C9BF

View file

@ -95,14 +95,22 @@ clean:
# TESTING
# =======
unit:
unit:
@$(call print, "Running unit tests.")
$(UNIT)
unit-race:
@$(call print, "Running unit race tests.")
$(UNIT) -race
unit-postgres:
@$(call print, "Running unit tests with postgres.")
$(UNIT) -tags=test_db_postgres
unit-postgres-race:
@$(call print, "Running unit race tests with postgres.")
$(UNIT) -race -tags=test_db_postgres
# =========
# UTILITIES
# =========