mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
make: add targets unit-race and unit-postgres-race
This commit is contained in:
parent
dc4a5641ac
commit
3abd2d2235
1 changed files with 9 additions and 1 deletions
10
Makefile
10
Makefile
|
|
@ -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
|
||||
# =========
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue