diff mbox series

hw/test: include -gcov binaries in clean target

Message ID 20190903214816.4464-1-erichte@linux.ibm.com
State Accepted
Headers show
Series hw/test: include -gcov binaries in clean target | expand

Checks

Context Check Description
snowpatch_ozlabs/apply_patch success Successfully applied on branch master (7b12d5489fcfd73ef7ec0cb27eff7f8a5f13b238)
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot success Test snowpatch/job/snowpatch-skiboot on branch master
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot-dco success Signed-off-by present

Commit Message

Eric Richter Sept. 3, 2019, 9:48 p.m. UTC
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>
---
 hw/test/Makefile.check | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/hw/test/Makefile.check b/hw/test/Makefile.check
index 1681027a..f9f233c6 100644
--- a/hw/test/Makefile.check
+++ b/hw/test/Makefile.check
@@ -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)