This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GDB test coverage


On Tue, Nov 8, 2016 at 9:38 AM, Yao Qi <qiyaoltc@gmail.com> wrote:
>
> I am sure we can still get more from these coverage results.  How do we
> make full use of coverage tests?  What I can think of are
>  - we can find some never-used functions, and remove some of them,
>  - add more test cases to address some low-coverage areas,

A while back I would run a per-commit coverage under something like
the build bot, and commit the results to a git repository, (one of the
output formats of gcov does compress fairly well...)

One thing that I noticed was that coverage would swing fairly wildly
(even when running the coverage under the same checkout of a commit
without changes) due to the races in the testsuite.

I'm not sure if that would still be the case or not, this made it
fairly difficult to isolate the particular effect that any given
commit had on the coverage.
which I thought would have made a nice barometer of sorta...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]