I need to test a standard C library suite

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

Threaded View
Hi guys,

 I need to test a standard C library suite on
 different embedded architectures. Is there around a
 complet set of tests?
 
 Right now I'm using P.J. Plauger's tests: the ones
 found in his book "C Library". Those tests are not
 complete nor open source.

thanks
 Enrico

Re: I need to test a standard C library suite
Quoted text here. Click to load it

I don't know about standard, but the GNU libraries may well
contain such a set.  The DJGPP system also contains a set, but is
not limited to standard items.

--
Chuck F ( snipped-for-privacy@yahoo.com) ( snipped-for-privacy@worldnet.att.net)
   Available for consulting/temporary embedded and systems.
We've slightly trimmed the long signature. Click to see the full one.
Re: I need to test a standard C library suite
Hi
 
Quoted text here. Click to load it


thanks for your suggestion!
I'll take a look at those packages.

Enrico

Re: I need to test a standard C library suite
Quoted text here. Click to load it

ISO 9899:1990 or ISO 9899:1999?

Quoted text here. Click to load it

There are test suites and standard libraries but whether they will work
on embedded systems is another matter. Most embedded compilers use
extensions and restrictions on ISO C. The smaller the MCU the great the
changes. You might be able to do it on some of the 32 bit embedded
systems. also define "embedded" I have used sparc running solaris and
x86 running dos in embedded systems others use WINCe on SH4...

Quoted text here. Click to load it

Test suits are not cheap to produce. I doubt you will find any free ones
let alone open source.  

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills  Staffs  England    /\/\/\/\/\
/\/\/ snipped-for-privacy@phaedsys.org       www.phaedsys.org \/\/
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

Re: I need to test a standard C library suite
Hi Chris,

Quoted text here. Click to load it

The library I'm working on is the Minix's one,
and it seems to be ISO 9899:1990 compliant.
 
Quoted text here. Click to load it

Except the <float.h> library, which I did not tested yet, the Minix library
works fine on my Renesas's M16C (16 bit) and Fujitsu's MB91F362 (32 bit) and
platforms. I'm currently working on the <float.h> library.
P.J. Plauger tests (the ones in the book, I mean) are first order tests.

Quoted text here. Click to load it

A guy suggested me to use GNU tests....but I don't know where to find them.


Enrico

Site Timeline