diff --git a/Makefile b/Makefile index 1c85d6a35e..f8838a1ac6 100644 --- a/Makefile +++ b/Makefile @@ -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