Skip to content

Commit 3abd2d2

Browse files
stariushieblmi
authored andcommitted
make: add targets unit-race and unit-postgres-race
1 parent dc4a564 commit 3abd2d2

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Makefile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,14 +95,22 @@ clean:
9595
# TESTING
9696
# =======
9797

98-
unit:
98+
unit:
9999
@$(call print, "Running unit tests.")
100100
$(UNIT)
101101

102+
unit-race:
103+
@$(call print, "Running unit race tests.")
104+
$(UNIT) -race
105+
102106
unit-postgres:
103107
@$(call print, "Running unit tests with postgres.")
104108
$(UNIT) -tags=test_db_postgres
105109

110+
unit-postgres-race:
111+
@$(call print, "Running unit race tests with postgres.")
112+
$(UNIT) -race -tags=test_db_postgres
113+
106114
# =========
107115
# UTILITIES
108116
# =========

0 commit comments

Comments
 (0)