]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Update documentation about copyright and GPL notices in tests
authorJonathan Wakely <jwakely@redhat.com>
Thu, 28 Apr 2022 12:28:06 +0000 (13:28 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 6 May 2022 13:43:38 +0000 (14:43 +0100)
There is no need to require FSF copyright for tests that are just
"self-evident" ways to check the API and behaviour of the library.
This is consistent with tests for the compiler, which do not have
copyright and licence notices either.

libstdc++-v3/ChangeLog:

* doc/xml/manual/test.xml: Remove requirement for copyright and
GPL notice in tests.
* doc/html/manual/test.html: Regenerate.

libstdc++-v3/doc/html/manual/test.html
libstdc++-v3/doc/xml/manual/test.xml

index ef56a305687313a71aea79145f3f4b39256d6b4f..10ae4ed5e1b34e14d0da1dde7a505975d2c8d9da 100644 (file)
@@ -371,8 +371,12 @@ cat 27_io/objects/char/3_xin.in | a.out</pre></dd><dt><span class="term"><code c
     directory and file name, given the organization as previously
     described.
    </p><p>
-    All files are copyright the FSF, and GPL'd: this is very
-    important.  The first copyright year should correspond to the date
+    Historically all test files were copyright the FSF, and GPL licensed.
+    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,
+    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
     original file.
index ee00b06e3854ba23b458f3c9adbe3e685b4b6659..7bc6e3397230d97b1d8d63c9072074290e2e9a93 100644 (file)
@@ -630,8 +630,12 @@ cat 27_io/objects/char/3_xin.in | a.out</programlisting>
    </para>
 
    <para>
-    All files are copyright the FSF, and GPL'd: this is very
-    important.  The first copyright year should correspond to the date
+    Historically all test files were copyright the FSF, and GPL licensed.
+    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,
+    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
     original file.