Skip to content

Commit

Permalink
Coverage reporting for whole broker.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralight committed Oct 6, 2018
1 parent e1d0bde commit abb3fee
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,6 @@ copy : sign
cd dist; scp *.html mosquitto:site/mosquitto.org/man/
scp ChangeLog.txt mosquitto:site/mosquitto.org/

coverage :
lcov --capture --directory . --output-file coverage.info
genhtml coverage.info --output-directory out
2 changes: 1 addition & 1 deletion client/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ uninstall :
reallyclean : clean

clean :
-rm -f *.o mosquitto_pub mosquitto_sub
-rm -f *.o mosquitto_pub mosquitto_sub *.gcda *.gcno
2 changes: 1 addition & 1 deletion lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ uninstall :
reallyclean : 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

libmosquitto.so.${SOVERSION} : ${MOSQ_OBJS}
Expand Down
2 changes: 1 addition & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ uninstall :
-rm -f "${DESTDIR}${prefix}/bin/mosquitto_passwd"

clean :
-rm -f *.o mosquitto mosquitto_passwd
-rm -f *.o mosquitto mosquitto_passwd *.gcda *.gcno

reallyclean : clean
-rm -rf *.orig *.db

0 comments on commit abb3fee

Please sign in to comment.