Merging gdc (GNU D Compiler) into gcc

Dave Korn
Tue Oct 11 14:05:00 GMT 2011

On 05/10/2011 04:56, Iain Buclaw wrote:
> On 5 October 2011 00:10, Ian Lance Taylor <> wrote:
>> Iain Buclaw <> writes:

>>> First question that pops up after having a quick look is, are there
>>> any tips around for writing the scripts for the testsuite? I'm not too
>>> familiar with Dejagnu, and the current testsuite used for GDC D2
>>> development is written in make.
>> DejaGNU is too horrible for me to talk about.  I can't recommend
>> anything other than blind copying of existing scripts.
> :-)

  There are at least some docs online:

  The DejaGnu manual is available online
(, although it's not very
GCC-specific; the most useful bit is the list of command-line options
( that you can pass
by setting RUNTESTFLAGS="..." on the 'make check' command-line.  If you're
having real trouble understanding what's going on in a test script, setting
RUNTESTFLAGS="-v -v -v --strace 30" will show you all the tcl commands being
executed in the log file.

  And as Ian says, most people just copy how it's done in existing scripts.


More information about the Gcc mailing list