From f8d7c53537d3160c5436854b867cee993c1aaa70 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Sun, 1 Jan 2017 19:53:08 -0500 Subject: [PATCH] lcov exclude gtest and mavlink --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c5e4c68ff0..f8c7002527 100755 --- a/Makefile +++ b/Makefile @@ -287,7 +287,7 @@ tests: run_tests_posix tests_coverage: @$(call PX4_RUN,$(MAKE) --no-print-directory tests PX4_CODE_COVERAGE=1 CCACHE_DISABLE=1) @$(call PX4_RUN,lcov --directory . --capture --quiet --output-file coverage.info) - @$(call PX4_RUN,lcov --remove coverage.info '/usr/*' --quiet --output-file coverage.info) + @$(call PX4_RUN,lcov --remove coverage.info '/usr/*' 'unittests/googletest/*' 'mavlink/*' --quiet --output-file coverage.info) #@(lcov --list coverage.info) @$(call PX4_RUN,genhtml coverage.info --quiet --output-directory coverage-html)