Skip to content

Commit

Permalink
Add libpfm tests to Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Paweł Szulik committed Jul 27, 2020
1 parent 50b23f4 commit bb98e1e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bb98e1e

Please sign in to comment.