RE: testsuite: wcsxfrm

2008-12-02 Thread Filippo ARCIDIACONO
-Original Message- From: Carmelo Amoroso [mailto:[EMAIL PROTECTED] Sent: Saturday, November 29, 2008 3:25 PM To: Tobias Poschwatta Cc: Filippo ARCIDIACONO; 'Carmelo AMOROSO'; uclibc@uclibc.org Subject: Re: testsuite: wcsxfrm Tobias Poschwatta wrote: On Thu, Nov 27, 2008

Re: testsuite: wcsxfrm

2008-12-02 Thread Carmelo AMOROSO
Filippo ARCIDIACONO wrote: -Original Message- From: Carmelo Amoroso [mailto:[EMAIL PROTECTED] Sent: Saturday, November 29, 2008 3:25 PM To: Tobias Poschwatta Cc: Filippo ARCIDIACONO; 'Carmelo AMOROSO'; uclibc@uclibc.org Subject: Re: testsuite: wcsxfrm Tobias Poschwatta wrote

Re: testsuite: wcsxfrm

2008-11-29 Thread Carmelo Amoroso
Tobias Poschwatta wrote: On Thu, Nov 27, 2008 at 08:45:18AM +0100, Carmelo Amoroso wrote: Thanks Filippo. Please TObia may you give a try ? Thanks, works much better now. There are only two failing tests remaining in locale-mbwc: tst_iswctype and tst_wcswidth. Output attached. Thanks,

Re: testsuite: wcsxfrm

2008-11-25 Thread Carmelo AMOROSO
Tobias Poschwatta wrote: Hi, in libc/strings/Makefile.in, it seems that wcsxfrm is included only if UCLIBC_HAS_LOCALE is selected. But the test case test/locale-mbwc/tst_wcsxfrm.c is run if UCLIBC_HAS_WCHAR is selected. So, if WCHAR is enabled, but LOCALE disabled, the testsuite fails:

Re: testsuite: wcsxfrm

2008-11-25 Thread Tobias Poschwatta
On Tue, Nov 25, 2008 at 03:39:08PM +0100, Carmelo AMOROSO wrote: Fixed in rev 24147. Please give it a try. That particular test case works now. Thanks. Still, because locale is disabled, a lots of tests fail in test/locale-mbwc with 'can't set locale' messages. Tobias

Re: testsuite: wcsxfrm

2008-11-25 Thread Carmelo AMOROSO
Tobias Poschwatta wrote: On Tue, Nov 25, 2008 at 03:39:08PM +0100, Carmelo AMOROSO wrote: Fixed in rev 24147. Please give it a try. That particular test case works now. Thanks. Still, because locale is disabled, a lots of tests fail in test/locale-mbwc with 'can't set locale' messages.

Re: testsuite: wcsxfrm

2008-11-25 Thread Tobias Poschwatta
On Tue, Nov 25, 2008 at 04:47:11PM +0100, Carmelo AMOROSO wrote: do you mean at runtime, or while compiling ? at runtime. All tests compile, now. E.g.: test/locale-mbwc# cat tst_iswalnum.out Warning : can't set locale: de_DE.ISO-8859-1 skipping ... Warning : can't set locale: de_DE.UTF-8

Re: testsuite: wcsxfrm

2008-11-25 Thread Carmelo AMOROSO
Tobias Poschwatta wrote: On Tue, Nov 25, 2008 at 04:47:11PM +0100, Carmelo AMOROSO wrote: do you mean at runtime, or while compiling ? at runtime. All tests compile, now. E.g.: Ok. Well firstly locale support is not totally completed even if recently we did a lot of progresses on this. My

Re: testsuite: wcsxfrm

2008-11-25 Thread Tobias Poschwatta
On Tue, Nov 25, 2008 at 05:19:35PM +0100, Carmelo AMOROSO wrote: It seems that you don't have these locales built-in. Are you using pre-generated locale headers ? or are you building locales data at build time ? Well, actually, locale is disabled: UCLIBC_HAS_WCHAR=y # UCLIBC_HAS_LOCALE is

Re: testsuite: wcsxfrm

2008-11-25 Thread Carmelo AMOROSO
Tobias Poschwatta wrote: On Tue, Nov 25, 2008 at 05:19:35PM +0100, Carmelo AMOROSO wrote: It seems that you don't have these locales built-in. Are you using pre-generated locale headers ? or are you building locales data at build time ? Well, actually, locale is disabled:

testsuite: wcsxfrm

2008-11-24 Thread Tobias Poschwatta
Hi, in libc/strings/Makefile.in, it seems that wcsxfrm is included only if UCLIBC_HAS_LOCALE is selected. But the test case test/locale-mbwc/tst_wcsxfrm.c is run if UCLIBC_HAS_WCHAR is selected. So, if WCHAR is enabled, but LOCALE disabled, the testsuite fails: gcc -Wall -Wstrict-prototypes