bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Silent test failures when no French, Japanese, Chinese locales installed


From: Richard W.M. Jones
Subject: Silent test failures when no French, Japanese, Chinese locales installed
Date: Thu, 15 Nov 2018 11:03:59 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

I'm using gnulib 6ccfbb4ce5d4fa79f7afb48f3648f2e0401523c3 from a
few days ago.

After upgrading to Fedora 29, the glibc-langpack-fr locale is no
longer installed by default.  This causes many tests to fail silently:

./gnulib/tests/test-suite.log:FAIL: test-btowc1.sh
./gnulib/tests/test-suite.log:FAIL: test-btowc2.sh
./gnulib/tests/test-suite.log:FAIL: test-c-strcase.sh
./gnulib/tests/test-suite.log:FAIL: test-mbrtowc1.sh
./gnulib/tests/test-suite.log:FAIL: test-mbrtowc2.sh
./gnulib/tests/test-suite.log:FAIL: test-mbrtowc3.sh
./gnulib/tests/test-suite.log:FAIL: test-mbrtowc4.sh
./gnulib/tests/test-suite.log:FAIL: test-mbsrtowcs1.sh
./gnulib/tests/test-suite.log:FAIL: test-mbsrtowcs2.sh
./gnulib/tests/test-suite.log:FAIL: test-mbsrtowcs3.sh
./gnulib/tests/test-suite.log:FAIL: test-mbsrtowcs4.sh
./gnulib/tests/test-suite.log:FAIL: test-setlocale1.sh
./gnulib/tests/test-suite.log:FAIL: test-wcrtomb.sh

The failures are completely silent.  It seems as if about
6 months ago it used to print an error message:

  Skipping test: no traditional french locale is installed

But for some reason that is no longer printed:

  $ LC_ALL=fr_FR ./test-btowc 1
  $ echo $?
  1

(The same applies to Japanese and Chinese language packs for other tests)

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]