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: [PING 2][PATCH v3] Add pretty printers for the NPTL lock types


Hi again everyone,

Just wanted to report my status on this. I integrated the printer unit
tests to the NPTL Makefile, which means we can now run the tests by
doing 'make check'. I successfully tested the printers on a Beaglebone
Black using cross-test-ssh.sh as test-wrapper. If we're in a cross
build and don't specify a test-wrapper, it'll simply compile the test
programs but mark the tests themselves as UNRESOLVED.

I had to drop the 'GCC optimize' pragma because, at least on ARM, I
saw there were still a few optimizations being applied when compiling
with -O2 (at least the DWARF was different). I don't know if this is a
gcc bug; in any case I manage to work around this by setting the
CFLAGS-* variables for each test program in the Makefile.

I've also set the PExpect timeout to TIMEOUTFACTOR; if it's not
defined it'll default to 1 second.

I'm currently working on creating a separate subdirectory for the
pretty printers as Siddhesh said. I'll be placing both the printers
and their unit tests there, while the .pysym constants will remain in
the nptl subdir. If everything goes right I should be sending the
(hopefully final) patch in the following days.


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