Add entry for libpfm related tests to Makefile

This commit is contained in:
Paweł Szulik 2020-07-27 17:00:50 +02:00
parent 50b23f4ed9
commit f8d9926c49

View File

@ -32,6 +32,11 @@ test:
@$(GO) test -short -race $(pkgs)
@cd cmd && $(GO) test -short -race $(cmd_pkgs)
test-with-libpfm:
@echo ">> running tests"
@$(GO) test -short -race -tags="libpfm" $(pkgs)
@cd cmd && $(GO) test -short -race -tags="libpfm" $(cmd_pkgs)
container-test:
@echo ">> runinng tests in a container"
@./build/unit-in-container.sh