473,657 Members | 2,413 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2718

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.c omwrote:
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.co m/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.c omwrote:
On Sep 7, 7:56 pm, Guy Macon <http://www.guymacon.co m/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
1270
by: Sudeep | last post by:
Hi , Is the Java Test Suite for J2ME downloadable? Where can I find that ? Thanks in advance, Sudeep
3
1951
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 "TypeError: update() takes exactly one argument (0 given)". The full output of the test suite is at (URL: http://www.cs.helsinki.fi/u/tjvirkka/out.txt ) I'd hate to spend hours debugging this thing, so I thought to ask here if someone has any ideas...
2
1999
by: vadi | last post by:
Can any one help me in finding the test suite (test C++ examples) for testing the C++ parser.
17
2523
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 should probably be several of them (with some commonality), one each for C90, C99, and C0X. The tests should be clearly tied to the standard. There are several classes of tests needed, i.e. conformance, detection of errors, and quality. The last...
0
1223
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 now accompanied by metadata in the form set out in the XML Schema Test Suite Framework . The community owes a big "Thank You" to NIST, Sun and Microsoft for contributing their extensive test collections -- we welcome further contributions!
1
1508
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 I want to test does not have XSLT, only XPath. /Arndt Jonasson
2
2029
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
2615
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 files. Is there something better available ? Thanks in advance,
0
534
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 Open" error and I can't figure out why. Hopefully someone more familiar with SimpleTest can point me in the right direction (or point out my stupidity, as the case may be). Here are the highlights of my config:
0
8315
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8734
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8508
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8608
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7341
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4164
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2733
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1962
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1627
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.