pikapython/lcov.sh

7 lines
358 B
Bash
Raw Normal View History

2023-06-18 12:41:27 +08:00
lcov --capture --directory port/linux/build/package/pikascript/CMakeFiles/pikascript-core.dir/pikascript-core --output-file testHtml.info --test-name testHtml
2023-06-18 11:25:44 +08:00
genhtml -o result testHtml.info
2023-06-18 11:45:43 +08:00
# 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