[PATCH] build: add a target to ease the creation of coverage files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 src/Makefile.am |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 63ad837..1178b57 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2071,4 +2071,9 @@ $(installmodlibexecLTLIBRARIES): install-pkglibLTLIBRARIES
 installpadsplibLTLIBRARIES = install-padsplibLTLIBRARIES
 $(installpadsplibLTLIBRARIES): install-libLTLIBRARIES
 
-.PHONY: massif update-all update-ffmpeg update-sbc update-map-file
+show-coverage:
+	lcov --capture --directory . --output-file all.info
+	rm -rf coverage
+	genhtml --output-directory coverage all.info
+
+.PHONY: massif update-all update-ffmpeg update-sbc update-map-file show-coverage
-- 
1.7.7.6



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux