Connecting Tech Pros Worldwide Forums | Help | Site Map

ANSI C (C99) testsuit compliancy

P.
Guest
 
Posts: n/a
#1: Nov 14 '05
Hi,

I'm looking for a set of C tests/library which can be used to check
ANSI C (C99) compliancy. For instance a set of C tests which can be
used to test compiler ANSI C compliancy.

I appreciate your help,

P.


Chris Hills
Guest
 
Posts: n/a
#2: Nov 14 '05

re: ANSI C (C99) testsuit compliancy


In article <1115912334.226567.327660@g49g2000cwa.googlegroups .com>, P.
<pmlsn@post.com> writes[color=blue]
>Hi,
>
>I'm looking for a set of C tests/library which can be used to check
>ANSI C (C99) compliancy. For instance a set of C tests which can be
>used to test compiler ANSI C compliancy.
>
>I appreciate your help,
>
>P.[/color]

Try Plum-Hall or Perennial AFAIK both cost money and there are no
recognised free test suites.




/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/\
/\/\/ chris@phaedsys.org www.phaedsys.org \/\/
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/



CBFalconer
Guest
 
Posts: n/a
#3: Nov 14 '05

re: ANSI C (C99) testsuit compliancy


Chris Hills wrote:[color=blue]
> <pmlsn@post.com> writes[color=green]
>>
>> I'm looking for a set of C tests/library which can be used to
>> check ANSI C (C99) compliancy. For instance a set of C tests
>> which can be used to test compiler ANSI C compliancy.[/color]
>
> Try Plum-Hall or Perennial AFAIK both cost money and there are
> no recognised free test suites.[/color]

I believe there is a freely available test suite for gcc from gnu.
I have no direct knowledge of it.
[color=blue]
>
> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
> \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/\
> /\/\/ chris@phaedsys.org www.phaedsys.org \/\/
> \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/[/color]

Please fix your signature to include a proper sig delimiter ("-- ")

--
Some informative links:
news:news.announce.newusers
http://www.geocities.com/nnqweb/
http://www.catb.org/~esr/faqs/smart-questions.html
http://www.caliburn.nl/topposting.html
http://www.netmeister.org/news/learn2quote.html


Chris Hills
Guest
 
Posts: n/a
#4: Nov 14 '05

re: ANSI C (C99) testsuit compliancy


In article <4283C9A5.40E4526B@yahoo.com>, CBFalconer
<cbfalconer@yahoo.com> writes[color=blue]
>Chris Hills wrote:[color=green]
>> <pmlsn@post.com> writes[color=darkred]
>>>
>>> I'm looking for a set of C tests/library which can be used to
>>> check ANSI C (C99) compliancy. For instance a set of C tests
>>> which can be used to test compiler ANSI C compliancy.[/color]
>>
>> Try Plum-Hall or Perennial AFAIK both cost money and there are
>> no recognised free test suites.[/color]
>
>I believe there is a freely available test suite for gcc from gnu.
>I have no direct knowledge of it.
>[/color]

As I said there are no industrially recognised free test suites.

The problem with certification is that some one is certifying something.
IE taking responsibility for something. Legal issues then crop up. It is
a mine field.

Besides I would have though the GNU test suite only works with the GNU
compilers. Also I thought that GNU worked to it's own standard?




-- \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
/\/\/ chris@phaedsys.org www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/



P.
Guest
 
Posts: n/a
#5: Nov 14 '05

re: ANSI C (C99) testsuit compliancy


Thank you very much for your inputs. The gnu gcc test suite will be an
acceptable starting point for my project.

I was not able to find anything on the gnu web site. Any idea where to
look to get the GCC gnu test suite?

..P

Tim Prince
Guest
 
Posts: n/a
#6: Nov 14 '05

re: ANSI C (C99) testsuit compliancy


P. wrote:
[color=blue]
> Thank you very much for your inputs. The gnu gcc test suite will be an
> acceptable starting point for my project.
>
> I was not able to find anything on the gnu web site. Any idea where to
> look to get the GCC gnu test suite?
>
> .P[/color]
gcc testsuite is included in any full distribution of gcc source, e.g.
ftp://gcc.gnu.org/pub/gcc and many mirrors. There is generally a separate
tar file with just the testsuite. Testsuite is updated continually; you
will want the one which corresponds to your gcc. If attempting to test
some other compiler, you may want the gcc-4.0 or 4.1 snapshot testsuite.
--
Tim Prince
Closed Thread


Similar C / C++ bytes