Skip to content

Commit 1c698d2

Browse files
committed
Fix coverage build
If the gnatcov_rts.gpr installed by gnatcov setup is not found by gnatcov instrument on the GPR_PROJECT_PATH, gnatcov instrument assumes that the dump-trigger mode is manual, which triggers a bug. This bug should be fixed, but the dump-trigger mode for gnatcoll-core should not be manual, so fix this to avoid triggering the bug.
1 parent 0550c32 commit 1c698d2

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
@@ -146,7 +146,7 @@ build: $(LIBRARY_TYPES:%=build-%)
146146

147147
build-%: $(GNATCOV_RTS)
148148
ifeq ($(GNATCOV), yes)
149-
gnatcov instrument -P $(GNATCOLL_GPR) $(RBD) \
149+
$(GNATCOV_PROJECT_PATH) gnatcov instrument -P $(GNATCOLL_GPR) $(RBD) \
150150
--no-subprojects --level=stmt+decision
151151
endif
152152
$(BUILDER) -XLIBRARY_TYPE=$* -XXMLADA_BUILD=$* -XGPR_BUILD=$* \

0 commit comments

Comments
 (0)