473,396 Members | 2,023 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,396 software developers and data experts.

Tests for compilerwriters?

Does anyone know of a testsuite suitable for use by a C compilerwriter?
It would be a series of standard C programs that test that tricky points
of the language (eg integer promotions) are handled correctly.

Thanks in advance.

--
Fact answering fiction: http://www.detectingdesign.com/
Aug 13 '07 #1
4 1220

"Bob Andrews" <bo*@andrews.invalidwrote in message
news:sl********************@nospam.invalid...
Does anyone know of a testsuite suitable for use by a C compilerwriter?
It would be a series of standard C programs that test that tricky points
of the language (eg integer promotions) are handled correctly.

Thanks in advance.
ctorture.

--
Free games and programming goodies.
http://www.personal.leeds.ac.uk/~bgy1mm

Aug 13 '07 #2
On 13 Aug 2007 at 21:56, Malcolm McLean wrote:
>
"Bob Andrews" <bo*@andrews.invalidwrote in message
news:sl********************@nospam.invalid...
>Does anyone know of a testsuite suitable for use by a C compilerwriter?
It would be a series of standard C programs that test that tricky points
of the language (eg integer promotions) are handled correctly.

Thanks in advance.
ctorture.
Hmmmm... <does google search>.

Top hit: "ROOT_404-2g_version: test/ctorture.cxx File Reference".

Hmmm, doesn't look promising. <clicks link>

Hmmm, yep, it's C++ alright. Yuck!

Looks through other google results. All C++ (plus some links to bondage
crap!) <frowns>

--
Fact answering fiction: http://www.detectingdesign.com/
Aug 14 '07 #3
Bob Andrews wrote:
>Does anyone know of a testsuite suitable for use by a C compilerwriter?
It would be a series of standard C programs that test that tricky points
of the language (eg integer promotions) are handled correctly.
Try posting in comp.compilers
Roberto Waltman

[ Please reply to the group,
return address is invalid ]
Aug 14 '07 #4
In article <sl********************@nospam.invalid>, Bob Andrews
<bo*@andrews.invalidwrites
>Does anyone know of a testsuite suitable for use by a C compilerwriter?
It would be a series of standard C programs that test that tricky points
of the language (eg integer promotions) are handled correctly.

Thanks in advance.
There are two industry standard compiler test suites

http://www.plumhall.com

http://www.peren.com/pages/products.htm

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

Aug 14 '07 #5

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

Similar topics

0
by: A. B., Khalid | last post by:
Hello all. After the effort of getting most of Python 2.3.4 Final compiled in MinGW (see: http://mail.python.org/pipermail/python-list/2004-June/225967.html, and get the patch and read more...
7
by: Jorgen Grahn | last post by:
I have a set of tests in different modules: test_foo.py, test_bar.py and so on. All of these use the simplest possible internal layout: a number of classes containing test*() methods, and the good...
8
by: Jimnbigd | last post by:
What is the recommended code to test browser type, for conditional processing in Javascript? I have seen tests for "document.all". I have seen tests for the actual browser name, or substrings in...
3
by: TPJ | last post by:
"The advantage of xrange() over range() is minimal (since xrange() still has to create the values when asked for them) except when a very large range is used on a memory-starved machine or when all...
1
by: travislspencer | last post by:
Hey All, I am trying to write a script that runs all of my pyunit tests for me. Ideally, I would like to be able to drop a new module into my project's test subdirectory, and the testing script...
3
by: Julie | last post by:
Does anyone know of a forum for discussing the writing of fit tests? I have a couple of questions that haven't been answered in the typical open source way (look at the source stupid). Barring...
16
by: Greg Roberts | last post by:
Hi I want to place the tests needed in the code using attributes. There seems to be enough code snippets around for me to cover this. e.g. // Test cases, run these here on the function and...
2
by: um | last post by:
When the POSIX pthreads library for w32 release 2-2-0 (http://sources.redhat.com/pthreads-win32/) is compiled with VC++6 then it compiles and passes all the benchmark tests in the subdirectory...
6
by: Ben Finney | last post by:
Howdy all, Summary: I'm looking for idioms in unit tests for factoring out repetitive iteration over test data. I explain my current practice, and why it's unsatisfactory. When following...
5
by: =?Utf-8?B?cmFuZHkxMjAw?= | last post by:
I'm working in Visual Studio 2005 Team Edition for Software Developers I've used the wizard under the Test menu to create a bunch of unit tests. When I click "Test -Start Selected Test Project...
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:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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...
0
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...
0
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,...

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.