From patchwork Mon Jan 1 04:48:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Brobecker X-Patchwork-Id: 25171 Received: (qmail 54010 invoked by alias); 1 Jan 2018 04:48:29 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 53965 invoked by uid 89); 1 Jan 2018 04:48:28 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.5 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=H*MI:sk:2018010, joel, Joel, H*i:sk:2018010 X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 01 Jan 2018 04:48:14 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 299A1117742 for ; Sun, 31 Dec 2017 23:48:12 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id rVrEJ9FXom3h for ; Sun, 31 Dec 2017 23:48:12 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id B27F5117731 for ; Sun, 31 Dec 2017 23:48:11 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 6CFFA85CE8; Mon, 1 Jan 2018 08:48:07 +0400 (+04) From: Joel Brobecker To: gdb-patches@sourceware.org Subject: [PATCH 4/5] gdb/copyright.py: Remove testsuite/gdb.base/step-line.{c, inp} special handling Date: Mon, 1 Jan 2018 08:48:00 +0400 Message-Id: <20180101044801.7201-5-brobecker@adacore.com> In-Reply-To: <20180101044801.7201-1-brobecker@adacore.com> References: <20180101044801.7201-1-brobecker@adacore.com> 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(-) 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 + * 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 + * 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