Skip to content

Commit

Permalink
hw/test: include -gcov binaries in clean target
Browse files Browse the repository at this point in the history
This patch fixes an oversight in the hw-clean make target that removes the
.gcno object, but does not remove the -gcovr test binary. Therefore, the
.gcno object is not recreated on a subsequent coverage-report build,
which causes an error that fails the build.

Signed-off-by: Eric Richter <erichte@linux.ibm.com>
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
  • Loading branch information
erichte-ibm authored and oohal committed Sep 6, 2019
1 parent 3f5ecfb commit e023d6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/test/Makefile.check
Expand Up @@ -26,4 +26,4 @@ $(HW_TEST:%=%-gcov): %-gcov : %.c %
clean: hw-clean

hw-clean:
$(RM) -f hw/test/*.[od] $(HW_TEST)
$(RM) -f hw/test/*.[od] $(HW_TEST) $(HW_TEST:%=%-gcov)

0 comments on commit e023d6b

Please sign in to comment.