From 0a42284a3d1eb6d9fe6dfbdec02a702d7f613ae1 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 27 Dec 2014 23:25:50 +0000 Subject: Add gcov test coverage (written to build/test/coverage) and a couple more tests. --- run/tests | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'run') diff --git a/run/tests b/run/tests index 5c99f479..721651e3 100755 --- a/run/tests +++ b/run/tests @@ -97,4 +97,10 @@ fi # and check that they are right $dcpinfo -s $private/JourneyToJah_TLR-1_F_EN-DE-FR_CH_51_2K_LOK_20140225_DGL_SMPTE_OV >> $work/jah.log +# Calculate coverage +cd build +gcovr --root=$(pwd) --keep +lcov --capture --directory $(pwd) --base-directory $(pwd) --output-file test/coverage.info +genhtml test/coverage.info --output-directory test/coverage + echo "PASS" -- cgit v1.2.3