Copyright status of example code in Bugzilla - how to deal with when writing testcases.
Joe Buck
Joe.Buck@synopsys.COM
Mon Mar 28 22:18:00 GMT 2005
On Mon, Mar 28, 2005 at 10:04:40AM -0800, Zack Weinberg wrote:
> Andrew Pinski <pinskia@physics.uc.edu> writes:
> >
> > The code for these testcases submitted so far are about 12 lines a piece
> > and have almost nothing which can tell where they came from (Other than
> > comments in the code).
>
> That's probably fine then. IIRC, previous discussion of this has
> generally come out to 'as long as the worst thing a sane judge would
> ever order is that we delete the test case, we're fine'.
That's basically what Prof. Moglen told us. Avoid test cases that are
complete programs that produce a useful result, for example.
More information about the Gcc
mailing list