Re: Code Coverage for C and Python

Charles R Harris via NumPy-Discussion <[email protected]> Mon, 16 Mar 2026 07:00:24 -0600
Newsgroups gmane.comp.python.numeric.general
Message-ID <CAB6mnxLqV0zNXD8x9vFxoRdACsRMtSVwRPy3dZseimyax4KWOQ@mail.gmail.com>
--===============5979227455468233294==
Content-Type: multipart/alternative; boundary="000000000000fa4c8d064d23cdbd"

--000000000000fa4c8d064d23cdbd
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Sun, Mar 15, 2026 at 9:48=E2=80=AFPM Ganesh Kathiresan <ganesh3597@gmail=
.com>
wrote:

> There are currently two tools in the `tools` directory, I am not clear on
>> how useful they are
>
>
> This is outdated today (or rather there is an easier way) and needs to be
> replaced with `spin test --gcov`. This generated .gcda and .gcno files
> which are later used by gcovr to generate HTML reports.
>


That fails for the *c.src files, seems that the preprocessing needs to be
done.

I'm wondering if the reports are something that can be digested by AI?

<snip>

Chuck

--000000000000fa4c8d064d23cdbd
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote g=
mail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Sun, Mar 15,=
 2026 at 9:48=E2=80=AFPM Ganesh Kathiresan &lt;<a href=3D"mailto:ganesh3597=
@gmail.com">[email protected]</a>&gt; wrote:<br></div><blockquote class=
=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg=
b(204,204,204);padding-left:1ex"><div dir=3D"ltr"><blockquote class=3D"gmai=
l_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,20=
4,204);padding-left:1ex">There are currently two tools in the `tools` direc=
tory, I am not clear on how useful they are</blockquote><div><br></div><div=
>This is outdated today (or rather there is an easier way) and needs to be =
replaced with `<span style=3D"font-family:monospace">spin test --gcov`</spa=
n>. This generated <span style=3D"font-family:monospace">.gcda</span> and <=
span style=3D"font-family:monospace">.gcno</span> files which are later use=
d by <span style=3D"font-family:monospace">gcovr</span> to generate HTML re=
ports.=C2=A0</div></div></blockquote><div><br></div><div><br></div><div>Tha=
t fails for the *c.src files, seems that the preprocessing needs to be done=
.</div><div><br></div><div>I&#39;m wondering if the reports are something t=
hat can be digested by AI?</div><div><br></div><div>&lt;snip&gt;</div><div>=
<br></div><div>Chuck=C2=A0</div></div></div>

--000000000000fa4c8d064d23cdbd--

--===============5979227455468233294==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
NumPy-Discussion mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/numpy-discussion.python.org
Member address: [email protected]

--===============5979227455468233294==--