This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: [PATCH v3] Add pretty printers for the NPTL lock types


On 01/08/2016 09:50 AM, Martin Galvan wrote:
> On Fri, Jan 8, 2016 at 11:33 AM, Carlos O'Donell <carlos@redhat.com> wrote:
>> Woah, wait, DejaGNU? Why? We don't have any DejaGNU infrastructure
>> in glibc and adding it will only complicate this change. Unless you
>> mean to add them to the gdb testing?
> 
> Indeed, there's not :) I was working on adding a minimal
> infrastructure only for these tests. Needless to say, if there's any
> way whatsoever to avoid doing that, I'll be more than happy to go with
> it.
> 
> In fact, I was hoping that this could go in without unit tests, but I
> understand they're necessary. Any suggestions on a simpler way to test
> these is more than welcome.
> 

You can use any script, or application wired into glibc's build
infrastructure and it executes as a test and honours exit code numbers
we use then it can be used.

We have lots of complex tests that use scripts to setup and run the
tests and that complexity is hidden on a per-test basis rather than
being imposed on all tests.

Cheers,
Carlos.


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