Thread overview
Test suite for compiler writers
Apr 30, 2004
Paul Litvak
Apr 30, 2004
Walter
Apr 30, 2004
Stewart Gordon
April 30, 2004
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

April 30, 2004
"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.


April 30, 2004
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.