Don't calculate coverage for system/boost etc..
authorCarl Hetherington <cth@carlh.net>
Sat, 27 Dec 2014 23:57:43 +0000 (23:57 +0000)
committerCarl Hetherington <cth@carlh.net>
Sat, 27 Dec 2014 23:57:43 +0000 (23:57 +0000)
run/tests

index 721651e36d3c3f0d17f8c08a2b2069000a0db8de..a9b57ad8d15c58b7fcd94d0a9460a8352d81924e 100755 (executable)
--- a/run/tests
+++ b/run/tests
@@ -101,6 +101,7 @@ $dcpinfo -s $private/JourneyToJah_TLR-1_F_EN-DE-FR_CH_51_2K_LOK_20140225_DGL_SMP
 cd build
 gcovr --root=$(pwd) --keep
 lcov --capture --directory $(pwd) --base-directory $(pwd) --output-file test/coverage.info
+lcov --remove test/coverage.info "/usr*" -o test/coverage.info
 genhtml test/coverage.info --output-directory test/coverage
 
 echo "PASS"