X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libs%2Fsrtp%2FMakefile.am;h=7c95859eb507608e7e6377f90e6972c12e43cef4;hb=b0f459734980ed8bc36fd968587c64f77c72aa4b;hp=74c4bafe049598c0a67ab9f6dd09f6ff661a426b;hpb=04d05b50633957945de3cbbf955e67cfb5905a65;p=vlc diff --git a/libs/srtp/Makefile.am b/libs/srtp/Makefile.am index 74c4bafe04..7c95859eb5 100644 --- a/libs/srtp/Makefile.am +++ b/libs/srtp/Makefile.am @@ -36,3 +36,17 @@ test_aes_SOURCES = test-aes.c srtp_SOURCES = recv.c srtp_LDADD = libvlc_srtp.la +lcov-run: + rm -f *.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