From f8d9926c49c6637c3aae976571e388898317ca78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Szulik?= Date: Mon, 27 Jul 2020 17:00:50 +0200 Subject: [PATCH] Add entry for libpfm related tests to Makefile --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) 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