Skip to content

Commit

Permalink
Merge pull request #2631 from Creatone/make-test-go-flags
Browse files Browse the repository at this point in the history
Add entry for libpfm related tests to Makefile
  • Loading branch information
dashpole authored Jul 27, 2020
2 parents 50b23f4 + f8d9926 commit 33463ad
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 33463ad

Please sign in to comment.