473,395 Members | 1,556 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Is there a test suite for C ?

Is there a suite to verify that a C compiler understands the
language correctly and produces correct code ? If not why
not ? There is such a suite (not associated with any specific
implementation) for Common Lisp which is a bigger language
so why not C ?

Sep 7 '07 #1
4 2698

Spiros Bousbouras wrote:
>Is there a suite to verify that a C compiler understands the
language correctly and produces correct code ? If not why
not ? There is such a suite (not associated with any specific
implementation) for Common Lisp which is a bigger language
so why not C ?
If only there was some sort of web site where you could type in
[ C test suite ] or [ C++ tst suite ] and have it search the web
for you. Wouldn't that be great? I bet you could make a lot of
money doing that. you could call it a "search engine" or
"searching robot."

Alas, no such web site exists, so we all have to post our
questions in Usenet newsgroups. :(




Sep 7 '07 #2
On Sep 7, 7:54 am, Spiros Bousbouras <spi...@gmail.comwrote:
Is there a suite to verify that a C compiler understands the
language correctly and produces correct code ? If not why
not ? There is such a suite (not associated with any specific
implementation) for Common Lisp which is a bigger language
so why not C ?
http://www.google.com/search?hl=en&q=C+validation+suite

Sep 8 '07 #3
On Sep 7, 7:56 pm, Guy Macon <http://www.guymacon.com/wrote:
Spiros Bousbouras wrote:
Is there a suite to verify that a C compiler understands the
language correctly and produces correct code ? If not why
not ? There is such a suite (not associated with any specific
implementation) for Common Lisp which is a bigger language
so why not C ?

If only there was some sort of web site where you could type in
[ C test suite ] or [ C++ tst suite ] and have it search the web
for you. Wouldn't that be great? I bet you could make a lot of
money doing that. you could call it a "search engine" or
"searching robot."
I was looking for informed comments on what exists,
the special difficulties C language presents in creating
one and any other comments whose content I couldn't
predict by the knowledgeable people here. That's a lot
more than what I could get from a list produced by a
search engine. But I admit that I was under the impression
that none exists and that influenced my posting here.
>
Alas, no such web site exists, so we all have to post our
questions in Usenet newsgroups. :(
Not to mention sarcastic comments.
Sep 10 '07 #4
On Sep 10, 9:49 am, Spiros Bousbouras <spi...@gmail.comwrote:
On Sep 7, 7:56 pm, Guy Macon <http://www.guymacon.com/wrote:
Spiros Bousbouras wrote:
>Is there a suite to verify that a C compiler understands the
>language correctly and produces correct code ? If not why
>not ? There is such a suite (not associated with any specific
>implementation) for Common Lisp which is a bigger language
>so why not C ?
If only there was some sort of web site where you could type in
[ C test suite ] or [ C++ tst suite ] and have it search the web
for you. Wouldn't that be great? I bet you could make a lot of
money doing that. you could call it a "search engine" or
"searching robot."

I was looking for informed comments on what exists,
the special difficulties C language presents in creating
one and any other comments whose content I couldn't
predict by the knowledgeable people here. That's a lot
more than what I could get from a list produced by a
search engine. But I admit that I was under the impression
that none exists and that influenced my posting here.
Alas, no such web site exists, so we all have to post our
questions in Usenet newsgroups. :(

Not to mention sarcastic comments.
The GCC compiler comes with a nice regression suite.
I suggest to start with that, and then buy a commercial one if it does
not suit your needs.

Sep 10 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Sudeep | last post by:
Hi , Is the Java Test Suite for J2ME downloadable? Where can I find that ? Thanks in advance, Sudeep
3
by: Timo Virkkala | last post by:
I tried to install Cheetah (0.9.15) and ran into trouble. When running the test suite, I get 61 failures and 57 errors. Most of the errors are "ImportError: No module named temp", with some...
2
by: vadi | last post by:
Can any one help me in finding the test suite (test C++ examples) for testing the C++ parser.
17
by: CBFalconer | last post by:
David Brown wrote: .... snip ... The problem with the gcc test suite is that it is geared to the gcc 'standard', rather than the ISO standard. A test suite should be open-source, and there...
0
by: Henry S. Thompson | last post by:
Thanks to contributions from Microsoft and Sun updating and considerably extending their 2002 contributions, we now have nearly 40,000 tests for W3C XML Schema 1.0 2nd edition. All the tests are...
1
by: Arndt Jonasson | last post by:
Is there some kind of test suite available for testing implementations of XPath 1.0? There seems to be one by Oasis, but it is for testing XSLT+XPath, if I understand correctly. The implementation...
2
by: prem | last post by:
Hi, Anybody know if there are any *FREE* ANSI C test suite for C/C++ for Compiler available? Any link/pointers is appreciated /Prem
4
by: oksid | last post by:
Hello, I'm writing a C99 preprocessor and I want to check its compliance with the ISO standard. I would like to know what's the best C99 test suite ? GCC seems to have a large set of test...
0
by: Rob Wilkerson | last post by:
Hey guys - I have a test suite that's working when I include a test case via its absolute path. For portability, I'd rather include it just using its name, but it's failing with a "Failed to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.