Testing suite for gdc for D1 and D2

Michael P. baseball.mjp at gmail.com
Mon Oct 19 05:30:02 PDT 2009


Vincenzo Ampolo Wrote:

> Hi,
> This is mainly a message to Walter, Andrei and all the people involved in 
> dmd and phobos.
> 
> As you maybe heard, there have been some commits about the gdc compiler 
> and in my previous mail in the NG i announced the complete merge of dmd 
> 1.039 and 2.015.
> 
> We have a problem now, we don't know how to safely test the newer 
> versions of the compiler. The dstress seems the only choice but are they 
> the same tests run before any dmd release? Is it both valid for D1 and 
> D2? If not, what tests are executed on dmd and phobos before each 
> release?
> 
> Thanks.

One possible choice is to make 1 file, for D1 and D2, that we run after each release. It would have to be fairly large, testing lots of different things.
If this compiled and ran correctly, it would mean that the changes you made haven't affected other parts of the compiler.
So, like DStress, but smaller test case, and only 1 file.


More information about the D.gnu mailing list