Patchwork [4/5] gdb/copyright.py: Remove testsuite/gdb.base/step-line.{c,inp} special handling

login
register
mail settings
Submitter Joel Brobecker
Date Jan. 1, 2018, 4:48 a.m.
Message ID <20180101044801.7201-5-brobecker@adacore.com>
Download mbox | patch
Permalink /patch/25171/
State New
Headers show

Comments

Joel Brobecker - Jan. 1, 2018, 4:48 a.m.
In the past, these files needed to be handled by hand, because
the testcase was sensitive to the length of the header, which was
potentially changing when new copyright years were added to
the copyright header. Now that we simply maintain and update
a range, the length of the copyright header should not change
as a consequence of the update performed by this script, so
special handling of those files is no longer necessary.

gdb/ChangeLog:

        * copyright.py (BY_HAND): Remove gdb/testsuite/gdb.base/step-line.inp
        and gdb/testsuite/gdb.base/step-line.c.
---
 gdb/ChangeLog    | 5 +++++
 gdb/copyright.py | 4 +---
 2 files changed, 6 insertions(+), 3 deletions(-)

Patch

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 27f7c7ffee..96cc88d658 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@ 
 2018-01-01  Joel Brobecker  <brobecker@adacore.com>
 
+	* copyright.py (BY_HAND): Remove gdb/testsuite/gdb.base/step-line.inp
+	and gdb/testsuite/gdb.base/step-line.c.
+
+2018-01-01  Joel Brobecker  <brobecker@adacore.com>
+
 	* copyright.py (main): Dump the contents of
 	MULTIPLE_COPYRIGHT_HEADERS (separately) from BY_HAND,
 	even if BY_HAND is empty.
diff --git a/gdb/copyright.py b/gdb/copyright.py
index bb21b21601..119f69f9e3 100644
--- a/gdb/copyright.py
+++ b/gdb/copyright.py
@@ -200,9 +200,7 @@  EXCLUDE_ALL_LIST = (
 
 # The list of files to update by hand.
 BY_HAND = (
-    # These files are sensitive to line numbering.
-    "gdb/testsuite/gdb.base/step-line.inp",
-    "gdb/testsuite/gdb.base/step-line.c",
+    # Nothing at the moment :-).
 )
 
 # Files containing multiple copyright headers.  This script is only