We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0eadfaf commit c7ae30dCopy full SHA for c7ae30d
generate_coverage.sh
@@ -45,7 +45,12 @@ do
45
lcov --extract ${testname}.info.tmp "*${basepath}/include/**/*" --output-file ${testname}.info
46
rm ${testname}.info.tmp
47
cd ${basepath}/${builddir}
48
- lcov --add-tracefile ${testdir}/${testname}.info --output-file all_tests.info
+ if [[ -e all_tests.info ]]
49
+ then
50
+ lcov --add-tracefile all_tests.info --add-tracefile ${testdir}/${testname}.info --output-file all_tests.info
51
+ else
52
+ lcov --add-tracefile ${testdir}/${testname}.info --output-file all_tests.info
53
+ fi
54
done
55
56
cd ${basepath}
0 commit comments