Coverage reporting for whole broker.

This commit is contained in:
Roger A. Light 2018-10-06 21:56:48 +01:00
parent e1d0bde0b1
commit abb3fee1f8
4 changed files with 6 additions and 3 deletions

View File

@ -81,3 +81,6 @@ copy : sign
cd dist; scp *.html mosquitto:site/mosquitto.org/man/ cd dist; scp *.html mosquitto:site/mosquitto.org/man/
scp ChangeLog.txt mosquitto:site/mosquitto.org/ scp ChangeLog.txt mosquitto:site/mosquitto.org/
coverage :
lcov --capture --directory . --output-file coverage.info
genhtml coverage.info --output-directory out

View File

@ -50,4 +50,4 @@ uninstall :
reallyclean : clean reallyclean : clean
clean : clean :
-rm -f *.o mosquitto_pub mosquitto_sub -rm -f *.o mosquitto_pub mosquitto_sub *.gcda *.gcno

View File

@ -72,7 +72,7 @@ uninstall :
reallyclean : clean reallyclean : clean
clean : clean :
-rm -f *.o libmosquitto.so.${SOVERSION} libmosquitto.so libmosquitto.a -rm -f *.o libmosquitto.so.${SOVERSION} libmosquitto.so libmosquitto.a *.gcno *.gcda
$(MAKE) -C cpp clean $(MAKE) -C cpp clean
libmosquitto.so.${SOVERSION} : ${MOSQ_OBJS} libmosquitto.so.${SOVERSION} : ${MOSQ_OBJS}

View File

@ -231,7 +231,7 @@ uninstall :
-rm -f "${DESTDIR}${prefix}/bin/mosquitto_passwd" -rm -f "${DESTDIR}${prefix}/bin/mosquitto_passwd"
clean : clean :
-rm -f *.o mosquitto mosquitto_passwd -rm -f *.o mosquitto mosquitto_passwd *.gcda *.gcno
reallyclean : clean reallyclean : clean
-rm -rf *.orig *.db -rm -rf *.orig *.db