vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Mon Dec 7 18:50:34 2015 +0200| [0cb9ddcdc503ba718f192349ed672eb742f99d51] | committer: Rémi Denis-Courmont
Makefile: restore lcov helper rules Run 'make lcov' to produce the coverage report in the lcov/. This requires lcov installed and the --enable-coverage configure flag. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0cb9ddcdc503ba718f192349ed672eb742f99d51 --- Makefile.am | 22 ++++++++++++++++++++++ modules/access/rtp/Makefile.am | 15 --------------- 2 files changed, 22 insertions(+), 15 deletions(-) diff --git a/Makefile.am b/Makefile.am index 1605e2b..c853f52 100644 --- a/Makefile.am +++ b/Makefile.am @@ -984,6 +984,28 @@ uninstall-hook: rm -f -- "$(DESTDIR)$(vlclibdir)/plugins/plugins.dat" ############################################################################### +# Test coverage +############################################################################### + +lcov-raw.out: + $(MAKE) $(AM_MAKEFLAGS) all + lcov -z -d . + $(MAKE) $(AM_MAKEFLAGS) check + lcov -c -d . -o lcov-raw.out + +lcov.out: lcov-raw.out + lcov -r lcov-raw.out -o lcov.out \ + '*test*' 'contrib/*' '/usr/include/*' + +lcov: lcov.out + rm -Rf lcov lcov.tmp + genhtml lcov.out -o lcov.tmp + mv lcov.tmp lcov + +.PHONY: lcov-raw.out + + +############################################################################### # PO translation files update ############################################################################### .PHONY: update-po diff --git a/modules/access/rtp/Makefile.am b/modules/access/rtp/Makefile.am index bb2bb74..05c9aae 100644 --- a/modules/access/rtp/Makefile.am +++ b/modules/access/rtp/Makefile.am @@ -32,18 +32,3 @@ librtp_plugin_la_CFLAGS += $(GCRYPT_CFLAGS) librtp_plugin_la_LIBADD += libvlc_srtp.la $(GCRYPT_LIBS) librtp_plugin_la_DEPENDENCIES += libvlc_srtp.la endif - -#lcov-run: -# rm -Rf *.gcda lcov -# $(MAKE) $(AM_MAKEFLAGS) check -# -#lcov-pre.out: -# lcov -c -d . -o lcov.tmp -# -#lcov.out: lcov-pre.out -# lcov -r lcov.tmp '*test*' > lcov.out -# -#lcov: lcov.out -# genhtml lcov.out -o lcov -# -#.PHONY: lcov-run _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
