www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Test suite for compiler writers

reply Paul Litvak <paullitvak yahoo.com> writes:
Is there a test suite for D compiler writers? I am talking about a
collection of unit tests for various features of the language. If not, what
are you guys (back-end & front-end developers) using to test your code?

-- Paul
Apr 29 2004
next sibling parent "Walter" <newshound digitalmars.com> writes:
"Paul Litvak" <paullitvak yahoo.com> wrote in message
news:BCB7075B.BD05%paullitvak yahoo.com...
 Is there a test suite for D compiler writers? I am talking about a
 collection of unit tests for various features of the language. If not,
what
 are you guys (back-end & front-end developers) using to test your code?
I use an internal test suite. Unfortunately, due to it being an unholy amalgamation of bits and pieces, the license of it is unclear and so I can't publish it. But a good start would be to compile phobos and run all the unit tests.
Apr 29 2004
prev sibling parent Stewart Gordon <smjg_1998 yahoo.com> writes:
Paul Litvak wrote:

 Is there a test suite for D compiler writers? I am talking about a
 collection of unit tests for various features of the language. If not, what
 are you guys (back-end & front-end developers) using to test your code?
I guess it's a matter of creating a tester for each corner of the spec and covering various cases. Here's an idea. Let's all get together and develop a suite of unit tests. Of course, cleaning up the remaining bugs/unclarities in the spec itself would certainly help.... I suppose some of the bug testcases that have been posted on D and here could serve as a starting point.... Stewart. -- My e-mail is valid but not my primary mailbox, aside from its being the unfortunate victim of intensive mail-bombing at the moment. Please keep replies on the 'group where everyone may benefit.
Apr 30 2004