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: Include LOCPATH in default test environment


On Wed, 11 Jun 2014, Florian Weimer wrote:

> On 06/05/2014 12:44 AM, Joseph S. Myers wrote:
> > Tests run using the default $(make-test-out) automatically get
> > GCONV_PATH and LC_ALL set, whether or not those environment variables
> > are actually needed for the individual test.  However, they do not get
> > LOCPATH set, meaning that a large number of tests have -ENV settings
> > just to set LOCPATH.
> 
> Is it still necessary to ensure manually that the localedata subdirectory is
> built in time, before tests relying on LOCPATH run?

If a directory contains tests using locales, my understanding is that its 
Depend file should mention localedata to ensure that localedata comes 
first in sysd-sorted.  If you're doing "make <subdir>/tests", then indeed 
you need to do "make localedata/tests" first (it would probably be good to 
have an explicit dependency of all tests on these locale files to avoid 
needing to depend on directory ordering like that).

-- 
Joseph S. Myers
joseph@codesourcery.com


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