diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-01-03 22:31:56 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-01-03 22:31:56 +0000 |
| commit | 7fb85beb1e4b655da0463d7d9c95b1181f5a6f00 (patch) | |
| tree | 676b6ad7889939cabaf1f45eafc003c2130b8e0d /run | |
| parent | 9655ed4740f08899698052f232256fcf7b77c58e (diff) | |
Tweaks to test setup; don't always compute coverage.
Diffstat (limited to 'run')
| -rw-r--r-- | run/coverage | 8 | ||||
| -rwxr-xr-x | run/tests | 7 |
2 files changed, 8 insertions, 7 deletions
diff --git a/run/coverage b/run/coverage new file mode 100644 index 00000000..db69a86c --- /dev/null +++ b/run/coverage @@ -0,0 +1,8 @@ +#!/bin/bash + +# Calculate coverage +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 @@ -97,11 +97,4 @@ 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 -lcov --remove test/coverage.info "/usr*" -o test/coverage.info -genhtml test/coverage.info --output-directory test/coverage - echo "PASS" |
