This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PING][PATCH v9] Add pretty printers for the NPTL lock types
On Tue, Jul 12, 2016 at 11:22:56AM -0300, Martin Galvan wrote:
> How would that solve the tests-need-hardcoded-path issue? Could you
> give me more details as to exactly what changes would I have to make
> in Rules?
In Rules, have the tests rule depend on a new rule tests-pp and define
tests-pp similar to the tests rule:
tests-pp: $(tests-pp:%=$(objpfx)%.pp.out)
Now create an implicit rule for individual tests, similar to how the
binaries-shared-tests have been set up except that instead of the
$(+link-tests) you'll need to create a new rule similar to it in
Makeconfig. You'll have to substitute rtld-tests-LDFLAGS and
link-libc-tests to have the desired effect, i.e. use the built dynamic
linker and set rpath instead of rpath-link.
Finally you create an implicit rule to create your *.pp.out and pass
it to $(evaluate-test).
Siddhesh