Skip to content

Commit 6737cf0

Browse files
committed
Fix make cover
1 parent 3b4ec43 commit 6737cf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ INSTALL_LIST = $(foreach int, $(COMMANDS), $(int)_install)
5353
IREF_LIST = $(foreach int, $(COMMANDS) $(PACKAGES), $(int)_iref)
5454
TEST_LIST = $(foreach int, $(COMMANDS) $(PACKAGES), $(int)_test)
5555
FMT_LIST = $(foreach int, $(COMMANDS) $(PACKAGES), $(int)_fmt)
56-
COVERPROFILE_LIST = $(foreach int, $(PACKAGES), $(int)/profile.out)
56+
COVERPROFILE_LIST = $(foreach int, $(subst $(GODIR),./,$(PACKAGES)), $(int)/profile.out)
5757

5858

5959
.PHONY: $(CLEAN_LIST) $(TEST_LIST) $(FMT_LIST) $(INSTALL_LIST) $(BUILD_LIST) $(IREF_LIST)

0 commit comments

Comments
 (0)