[Buildroot] [PATCH 1/1] utils/test-pkg: add option to enable NLS support

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sat Aug 3 08:22:19 UTC 2019


Hello,

On Tue, 23 Jul 2019 20:23:36 +0300
Vadim Kochan <vadim4j at gmail.com> wrote:

> Sometimes the package or specific configuration should be build with and
> without NLS support which requires additionally append NLS related
> config options or to have separate config file or use additional shell
> script.
> 
> So add helper command line option which appends config file with NLS
> options to the final config file which is now always stored in temporary
> file before merge it with the default configuration (even only -c was
> specified).
> 
> Signed-off-by: Vadim Kochan <vadim4j at gmail.com>
> ---
>  utils/test-pkg | 34 ++++++++++++++++++++++++++--------
>  1 file changed, 26 insertions(+), 8 deletions(-)

So, I discussed this patch with Yann and Peter, and we all agree that
we don't want to go down this route. Indeed, after checking NLS, we'll
have to check hardening options, debugging options, optimization
options, and more. This makes it unpractical.

The role of test-pkg is not to ensure that absolutely no failure will
be found by the autobuilders. By default, test-pkg only tests 6-7
toolchains, and not the whole set of toolchains/configurations that the
autobuilders are testing. The point of test-pkg is just to do some
basic sanity checking, and iron out the most basic issues. For
everything else, we rely on the autobuilders to detect the remaining
problems, including NLS enabled issues.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list