[PATCH] D158864: [Code Coverage] Add a script to check code coverage of a patch
Shivam Gupta via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 25 10:28:28 PDT 2023
xgupta created this revision.
xgupta added a reviewer: hnrklssn.
Herald added a project: All.
xgupta requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This patch is the second part of https://llvm.org/OpenProjects.html#llvm_patch_coverage
This script craete a patch from the HEAD commit, extract modified or added source files, test case files
and source code lines, add coverage instrumentation for the affected source files, runs Lit tests,
and records which test cases cause each counter to be executed. We then report the number of test
cases executing the counter and the number of test cases executing the counter that are also changed
in some way by the patch. Thus providing developer the information of inadequately tested source lines.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D158864
Files:
llvm/utils/git-check-coverage
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158864.553533.patch
Type: text/x-patch
Size: 15073 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230825/4c154bce/attachment.bin>
More information about the llvm-commits
mailing list