Joseph S. Myers - Re: [PATCH] Run ld.so tests only if $(build-shared) is yes (original) (raw)
This is the mail archive of the libc-alpha@sourceware.orgmailing 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] |
- From: "Joseph S. Myers"
- To: Roland McGrath
- Cc: "H.J. Lu" , GNU C Library
- Date: Tue, 11 Sep 2012 00:00:53 +0000
- Subject: Re: [PATCH] Run ld.so tests only if $(build-shared) is yes
- References: <20120910130629.GA20970@intel.com> <20120910230816.49F592C0A2@topped-with-meat.com>
On Mon, 10 Sep 2012, Roland McGrath wrote:
I think it would be better to add a little infrastructure support. Then add these tests to a new variable like "tests-shared-only" rather than repeating the same conditional lots of places.
There seem to be several properties one might wish to assign to tests.
shared-only is one, but so is whether they go in tests or xtests, and so
is whether they are built and run by standard rules or need their own
rules. Then there's distinguishing tests using locales to set LOCPATH for
them (I'm not sure why we don't just set LOCPATH for all tests, but if
there's a reason to avoid that then having a flag on the relevant tests
would seem better than hardcoding the relevant LOCPATH setting in many
places).
Rather than adding lots of variables for the various combinations of these properties, maybe there should be a way of setting a list of properties for a test - whether in a variable for that test, or through having the "tests" variable setting contain things such as "test-name:property-1:property-2" rather than just plain test names?
(If a test is shared-only, and you're generating PASS / FAIL lines for tests, arguably there should be an UNSUPPORTED line for the test that didn't run because you had a static build.)
-- Joseph S. Myers joseph@codesourcery.com
- References:
- [PATCH] Run ld.so tests only if $(build-shared) is yes
* From: H.J. Lu - Re: [PATCH] Run ld.so tests only if $(build-shared) is yes
* From: Roland McGrath
- [PATCH] Run ld.so tests only if $(build-shared) is yes
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |