Skip to content

🎧 Your Personal Streaming Service

test: update make test-race target to use PKG variable for improved flexibility

Deluan489d5c7760e7
diff --git a/Makefile b/Makefile
index df8155f56..2a60b7165 100644
--- a/Makefile
+++ b/Makefile
@@ -54,7 +54,7 @@ testall: test-race test-i18n test-js ##@Development Run Go and JS tests
.PHONY: testall
test-race: ##@Development Run Go tests with race detector
- go test -tags netgo -race -shuffle=on ./...
+ go test -tags netgo -race -shuffle=on $(PKG)
.PHONY: test-race
test-js: ##@Development Run JS tests