This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: documentation on writing testcases?
"Joseph S. Myers" <joseph@codesourcery.com> writes:
> Per Bothner <per@bothner.com> writes:
>> The general frustration is: where is dg-error documented?
>
> It ought to be in the dejagnu manual (i.e., that's where documentation
> should best be contributed) since dg-error is part of base dejagnu.
There is decent documentation of the dg-* directives in comments at
the top of $prefix/share/dejagnu/dg.exp, where $prefix refers to your
dejagnu installation. I do agree with Joseph that this ought to be in
the dejagnu manual.
zw