We no longer require that, because most tests are uninteresting
and contain no "original authorship", and so would not be protected
by copyright anyway.
- If you do want to add the FSF copyright notice and GPL licence text,
+ Adding the FSF copyright notice to new tests is incorrect unless you
+ (or your employer) have a copyright assignment on file with the FSF,
+ or if the test contains code copied from another test under FSF copyright.
+ In particular, new tests that contain original code are not copyright FSF
+ if contributed under the <a class="link" href="https://gcc.gnu.org/dco.html" target="_top">DCO</a> terms.
+ If new tests do add the FSF copyright notice and GPL licence text,
then the first copyright year should correspond to the date
- the file was checked in to version control. If a test is copied from
- an existing file it should retain the copyright years from the
+ the file was checked in to version control. If the test code is copied
+ from an existing file it should retain the copyright years from the
original file.
</p><p>
The DejaGnu instructions say to always return <code class="literal">0</code>
We no longer require that, because most tests are uninteresting
and contain no "original authorship", and so would not be protected
by copyright anyway.
- If you do want to add the FSF copyright notice and GPL licence text,
+ Adding the FSF copyright notice to new tests is incorrect unless you
+ (or your employer) have a copyright assignment on file with the FSF,
+ or if the test contains code copied from another test under FSF copyright.
+ In particular, new tests that contain original code are not copyright FSF
+ if contributed under the <link xmlns:xlink="http://www.w3.org/1999/xlink"
+ xlink:href="https://gcc.gnu.org/dco.html">DCO</link> terms.
+ If new tests do add the FSF copyright notice and GPL licence text,
then the first copyright year should correspond to the date
- the file was checked in to version control. If a test is copied from
- an existing file it should retain the copyright years from the
+ the file was checked in to version control. If the test code is copied
+ from an existing file it should retain the copyright years from the
original file.
</para>