[llvm-dev] [LLVMDev] llvm-cov outputting coverage results as HTML reports

688 views
Skip to first unread message

Ying Yi via llvm-dev

unread,
Mar 3, 2016, 10:21:51 AM3/3/16
to llvm...@lists.llvm.org
Dear All,

I am helping our test team migrate from gcov to llvmcov.  They currently generate HTML reports using lcov to easily navigate where coverage is missing. However, there does not seem to be a Windows compatible solution for generating HTML reports using the llvm-cov tools.

 

A possible solution to this problem is for llvm-cov to create html pages that include an overall coverage summary with links to individual html pages that show the coverage report for each source file in the project. A new option (-html) might be added into llvm-cov show command options.

 

I would like people’s opinions first so that may be acceptable when I come to upstream this.


Kind Regards,


--
Ying Yi
SN Systems Ltd - Sony Computer Entertainment Group.

Xinliang David Li via llvm-dev

unread,
Mar 3, 2016, 1:54:18 PM3/3/16
to Ying Yi, llvm-dev
Harlan Haskins has recently submitted a patch (for review) that implements --format=html for llvm-cov tool. Please take a look at that patch.

David

_______________________________________________
LLVM Developers mailing list
llvm...@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev


Justin Bogner via llvm-dev

unread,
Mar 3, 2016, 3:20:15 PM3/3/16
to Xinliang David Li via llvm-dev
Xinliang David Li via llvm-dev <llvm...@lists.llvm.org> writes:
> Harlan Haskins has recently submitted a patch (for review) that implements
> --format=html for llvm-cov tool. Please take a look at that patch.

For reference, the review thread starts here:

http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20160229/336622.html

Ying Yi via llvm-dev

unread,
Mar 4, 2016, 3:53:12 AM3/4/16
to Justin Bogner, Xinliang David Li via llvm-dev
Thanks David and Justin for the information. I will take a look.

Maggie

Ying Yi via llvm-dev

unread,
Mar 7, 2016, 4:50:20 AM3/7/16
to Justin Bogner, Xinliang David Li via llvm-dev
The patch is really useful. I have put some comments into the review thread.

Thanks
Reply all
Reply to author
Forward
0 new messages