pikapython/lcov.sh
2023-06-18 12:41:27 +08:00

7 lines
358 B
Bash

lcov --capture --directory port/linux/build/package/pikascript/CMakeFiles/pikascript-core.dir/pikascript-core --output-file testHtml.info --test-name testHtml
genhtml -o result testHtml.info
# replace port/linux/package/pikascript/pikascript-core/ to src/ for testHtml.info
sed -i 's/port\/linux\/package\/pikascript\/pikascript-core/src/g' testHtml.info