bug-gnulib
[Top][All Lists]
Advanced

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

some failing tests


From: Ralf Wildenhues
Subject: some failing tests
Date: Fri, 19 Oct 2007 20:55:57 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

Hello,

I noticed that some gnulib tests fail on GNU/Linux/x86_64.

../../gltests/test-ceilf2.c:125: assertion failed
/bin/sh: line 4:  6728 Aborted                 (core dumped) EXEEXT='' [...] 
srcdir='../../gltests' [...] ${dir}$tst
FAIL: test-ceilf2

If I remove the assertion here, I get this output:
ceilf 1(0x1.000002p+0) = 2(0x1p+1) or 2(0x1p+1)?
ceilf 3(0x1.800002p+1) = 4(0x1p+2) or 4(0x1p+2)?
ceilf 7(0x1.c00002p+2) = 8(0x1p+3) or 8(0x1p+3)?
ceilf 15(0x1.e00002p+3) = 16(0x1p+4) or 16(0x1p+4)?
ceilf 2.09715e+06(0x1.fffff2p+20) = 2.09715e+06(0x1p+21) or 
2.09715e+06(0x1p+21)?
ceilf 4.1943e+06(0x1.fffffap+21) = 4.1943e+06(0x1p+22) or 4.1943e+06(0x1p+22)?
ceilf 8.38861e+06(0x1.fffffep+22) = 8.38861e+06(0x1p+23) or 
8.38861e+06(0x1p+23)?
FAIL: test-ceilf2

../../gltests/test-floorf2.c:125: assertion failed
/bin/sh: line 4:  6843 Aborted                 (core dumped) EXEEXT='' [...] 
srcdir='../../gltests' [...] ${dir}$tst
FAIL: test-floorf2

If I remove the assertion here, I get this:
floorf -1(-0x1.000002p+0) = -2(-0x1p+1) or -2(-0x1p+1)?
floorf -3(-0x1.800002p+1) = -4(-0x1p+2) or -4(-0x1p+2)?
floorf -7(-0x1.c00002p+2) = -8(-0x1p+3) or -8(-0x1p+3)?
floorf -15(-0x1.e00002p+3) = -16(-0x1p+4) or -16(-0x1p+4)?
floorf -2.09715e+06(-0x1.fffff2p+20) = -2.09715e+06(-0x1p+21) or 
-2.09715e+06(-0x1p+21)?
floorf -4.1943e+06(-0x1.fffffap+21) = -4.1943e+06(-0x1p+22) or 
-4.1943e+06(-0x1p+22)?
floorf -8.38861e+06(-0x1.fffffep+22) = -8.38861e+06(-0x1p+23) or 
-8.38861e+06(-0x1p+23)?
FAIL: test-floorf2



../../gltests/unistdio/test-u16-printf1.h:29: assertion failed
/bin/sh: line 4:  7356 Aborted                 (core dumped) [...] 
LOCALE_FR='none' LOCALE_TR_UTF8='none' srcdir='../../gltests' 
LOCALE_TR_UTF8='none' LOCALE_FR_UTF8='none' LOCALE_TR_UTF8='none' 
LOCALE_ZH_CN='none' LOCALE_ZH_CN='none' LOCALE_FR_UTF8='none' 
LOCALE_TR_UTF8='none' LOCALE_FR_UTF8='none' LOCALE_TR_UTF8='none' 
LOCALE_ZH_CN='none' LOCALE_FR_UTF8='none' LOCALE_FR_UTF8='none' 
LOCALE_ZH_CN='none' LOCALE_FR='none' LOCALE_FR_UTF8='none' LOCALE_FR='none' 
LOCALE_FR_UTF8='none' LOCALE_FR='none' LOCALE_FR_UTF8='none' LOCALE_FR='none' 
LOCALE_FR_UTF8='none' LOCALE_FR='none' LOCALE_FR_UTF8='none' EXEEXT='' 
${dir}$tst
FAIL: test-u16-vsprintf1

Some debugging shows me that in u16_vasnprintf, around vasnprintf.c:3433,
this is triggered:
                    if (maxlen > INT_MAX / TCHARS_PER_DCHAR)
                      goto overflow;

On this system, this translates to
      if (maxlen > 2147483647 / (sizeof (unsigned short int) / sizeof (char)))

I hope this helps a bit in getting closer to the real issue here.



../../gltests/unistdio/test-u32-printf1.h:29: assertion failed
/bin/sh: line 4:  7379 Aborted                 (core dumped) [...] 
LOCALE_FR='none' LOCALE_TR_UTF8='none' srcdir='../../gltests' 
LOCALE_TR_UTF8='none' LOCALE_FR_UTF8='none' LOCALE_TR_UTF8='none' 
LOCALE_ZH_CN='none' LOCALE_ZH_CN='none' LOCALE_FR_UTF8='none' 
LOCALE_TR_UTF8='none' LOCALE_FR_UTF8='none' LOCALE_TR_UTF8='none' 
LOCALE_ZH_CN='none' LOCALE_FR_UTF8='none' LOCALE_FR_UTF8='none' 
LOCALE_ZH_CN='none' LOCALE_FR='none' LOCALE_FR_UTF8='none' LOCALE_FR='none' 
LOCALE_FR_UTF8='none' LOCALE_FR='none' LOCALE_FR_UTF8='none' LOCALE_FR='none' 
LOCALE_FR_UTF8='none' LOCALE_FR='none' LOCALE_FR_UTF8='none' EXEEXT='' 
${dir}$tst
FAIL: test-u32-vsprintf1

Furthermore, I get this output, which I guess is either undesired or
should be hidden from the user:

./test-yesno: error closing file: Bad file descriptor
PASS: test-yesno.sh

Cheers,
Ralf




reply via email to

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