This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Copyright status of example code in Bugzilla - how to deal with when writing testcases.


> 
> On Monday, March 28, 2005, at 12:56  AM, Toon Moene wrote:
> > How do we deal with this, copyright-wise ?  Do we have to take special 
> > care when deriving test-cases from them ?
> 
> The canonical method I use is to delete all aspects of the program that 
> don't influence the bug, comments, unused/unneeded functions, 
> variables, statements and expressions.  After that first step, usually 
> we wind up with something that doesn't contain enough to be covered by 
> copyright.  From there, we just check it in.  People that would be 
> shocked and horrified that we do this, should not submit bug reports.

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).

-- Pinski


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]