PATCH: Build test .po files during test runs
Benjamin Kosnik
bkoz@redhat.com
Fri Mar 25 18:19:00 GMT 2005
> In the course of implementing this, I discovered that the locale files
> used by the testsuite are in fact installed, even though they contain
> dummy entries (like those for "please"). That surprised me. The reason
> they are installed is that they also contain non-dummy entries for
> bitset error messages.
...and truename/falsename, which are also required. It's the locale
files for the library that are installed.
Basically, you have one locale file, with two extra entries we use only
when testing. Although perhaps excessive to you, I think this is
completely reasonable.
> 1. Modify testsuite_flags.in to remove the -DLOCAELDIR setting.
>
> 2. Set -DLOCALEDIR in DejaGNU. This setting will have to be conditional
> on in-build-tree vs. installed-compiler testing, just as is presently
> done for setting -L paths, etc. However, DejaGNU will not be in the
> business of building the .mo files, as we will use the ones that have
> already been built, whether in the installed or build tree.
>
> Are you comfortable with that plan, in principle?
Yep.
-benjamin
More information about the Libstdc++
mailing list