This is the mail archive of the 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:

> > 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.
> I don't think this is possible for locale/ because that would introduce a
> cyclic dependency.

locale/ tests only depend on the C / POSIX locale (built-in, so not 
needing any of the data generated with localedef).

> What I'm trying to say is that it might make sense to artificially introduce a
> barrier between building localedata/ and running the tests, if that's
> possible, so that it's no longer necessary to touch the Depend files.

The relevant files in localedata/ in the objdir aren't generated by 
building glibc (which should avoid needing to run anything on the host for 
which glibc is built), they're generated by "make localedata/tests".  But 
I think there should be a separate makefile rule somewhere for generating 
those locales, that all tests can then depend on (rather than only tests 
in localedata/ having such a dependency, and others relying on directory 

Joseph S. Myers

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