public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] pow.exe test failure
@ 2001-05-21  6:45 Ivan Jakab
  2001-05-21  7:36 ` Jonathan Larmour
  0 siblings, 1 reply; 2+ messages in thread
From: Ivan Jakab @ 2001-05-21  6:45 UTC (permalink / raw)
  To: ecos-discuss

Hi all,

I'm in the process of configuring eCos for a MIPS R3041 based target board
and I reached the point where I managed to execute all the test programs
supplied with the eCos CVS repository. All of them passed except the pow.exe
one which gave me the following output:

Network stack using 65536 bytes for misc space
                    65536 bytes for mbufs
                    131072 bytes for mbuf clusters
CS8900: Init
CS8900: Loopback test passed
CS8900: - type: 630E, rev: 800
INFO:<Starting tests from testcase
//f/Projects/ecoscvs/ecoscvs-working/ecos/pac
kages/language/c/libm/current/tests/vectors/pow.c for Math library pow()
functio
n>
INFO:<Still crunching, please wait...>
Vector #1
FAIL:<error not set correctly> Line: 304, File:
//f/Projects/ecoscvs/ecoscvs-wor
king/ecos/packages/language/c/libm/current/tests/vectors/vector_support.h
Vector #11
FAIL:<Result out of tolerance> Line: 315, File:
//f/Projects/ecoscvs/ecoscvs-wor
king/ecos/packages/language/c/libm/current/tests/vectors/vector_support.h
Vector #12
FAIL:<error not set correctly> Line: 304, File:
//f/Projects/ecoscvs/ecoscvs-wor
king/ecos/packages/language/c/libm/current/tests/vectors/vector_support.h
Vector #16
FAIL:<Result out of tolerance> Line: 315, File:
//f/Projects/ecoscvs/ecoscvs-wor
king/ecos/packages/language/c/libm/current/tests/vectors/vector_support.h
Vector #22
FAIL:<Result out of tolerance> Line: 315, File:
//f/Projects/ecoscvs/ecoscvs-wor
king/ecos/packages/language/c/libm/current/tests/vectors/vector_support.h
Vector #26
FAIL:<Result out of tolerance> Line: 315, File:
//f/Projects/ecoscvs/ecoscvs-wor
king/ecos/packages/language/c/libm/current/tests/vectors/vector_support.h
Vector #31
FAIL:<Result out of tolerance> Line: 315, File:
//f/Projects/ecoscvs/ecoscvs-wor
king/ecos/packages/language/c/libm/current/tests/vectors/vector_support.h
Vector #32
FAIL:<Result out of tolerance> Line: 315, File:
//f/Projects/ecoscvs/ecoscvs-wor
king/ecos/packages/language/c/libm/current/tests/vectors/vector_support.h
Vector #45
FAIL:<Result out of tolerance> Line: 315, File:
//f/Projects/ecoscvs/ecoscvs-wor
king/ecos/packages/language/c/libm/current/tests/vectors/vector_support.h
Vector #46
FAIL:<Result out of tolerance> Line: 315, File:
//f/Projects/ecoscvs/ecoscvs-wor
king/ecos/packages/language/c/libm/current/tests/vectors/vector_support.h
FAIL:<pow() failed tests> Line: 83, File:
//f/Projects/ecoscvs/ecoscvs-working/e
cos/packages/language/c/libm/current/tests/vectors/pow.c
EXIT:<Finished tests from testcase
//f/Projects/ecoscvs/ecoscvs-working/ecos/pac
kages/language/c/libm/current/tests/vectors/pow.c for Math library pow()
functio
n>


BTW, I have POSIX compatibility selected in my configuration. I looked at
the code and there are some automatically generated vectors in pow.h (the
expected errno value is set also). How come I get the FAIL:<error not set
correctly>? Does this just have to do something with the configuration
settings? Did anyone experience something similar?


Regards,

Ivan


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] pow.exe test failure
  2001-05-21  6:45 [ECOS] pow.exe test failure Ivan Jakab
@ 2001-05-21  7:36 ` Jonathan Larmour
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Larmour @ 2001-05-21  7:36 UTC (permalink / raw)
  To: Ivan Jakab; +Cc: ecos-discuss

Ivan Jakab wrote:
> 
> Hi all,
> 
> I'm in the process of configuring eCos for a MIPS R3041 based target board
> and I reached the point where I managed to execute all the test programs
> supplied with the eCos CVS repository. All of them passed except the pow.exe
> one which gave me the following output:
> 
> Network stack using 65536 bytes for misc space
>                     65536 bytes for mbufs
>                     131072 bytes for mbuf clusters
> CS8900: Init
> CS8900: Loopback test passed
> CS8900: - type: 630E, rev: 800
> INFO:<Starting tests from testcase
> //f/Projects/ecoscvs/ecoscvs-working/ecos/pac
> kages/language/c/libm/current/tests/vectors/pow.c for Math library pow()
> functio
> n>
> INFO:<Still crunching, please wait...>
> Vector #1
> FAIL:<error not set correctly> Line: 304, File:
[snip]
> 
> BTW, I have POSIX compatibility selected in my configuration. I looked at
> the code and there are some automatically generated vectors in pow.h (the
> expected errno value is set also). How come I get the FAIL:<error not set
> correctly>? Does this just have to do something with the configuration
> settings? Did anyone experience something similar?

This is known to work fine on other MIPS boards, and POSIX compatibility is
the default mode for libm, so I'm afraid I think you'll have to debug it.
I'd recommend recompiling the test without optimization (-O0) otherwise the
inline function in vector_support.h is virtually impossible to debug.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-05-21  7:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-21  6:45 [ECOS] pow.exe test failure Ivan Jakab
2001-05-21  7:36 ` Jonathan Larmour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).