From bc7f7ff954679ac46771f56cbb947a4c19557d98 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Wed, 4 Sep 2019 10:08:20 +0200 Subject: [PATCH] mklog: Do not print changed functions in testsuite 2019-09-04 Martin Liska * mklog: Do not print changed functions for testsuite files. From-SVN: r275369 --- contrib/ChangeLog | 5 +++++ contrib/mklog | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 5e4ec60ae3a..743fe00861f 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,8 @@ +2019-09-04 Martin Liska + + * mklog: Do not print changed functions for + testsuite files. + 2019-09-04 Martin Liska * mklog: Parse PR references from newly added diff --git a/contrib/mklog b/contrib/mklog index 85242002357..1a0e82d1ddd 100755 --- a/contrib/mklog +++ b/contrib/mklog @@ -407,7 +407,8 @@ otherwise writes to stdout.' change_msg = ": Remove.\n" _, ext = os.path.splitext(d.filename) - if not change_msg and ext in ['.c', '.cpp', '.C', '.cc', '.h', '.inc', '.def']: + if (not change_msg and ext in ['.c', '.cpp', '.C', '.cc', '.h', '.inc', '.def'] + and not 'testsuite' in d.filename): fns = [] for hunk in d.hunks: for fn in find_changed_funs(hunk): -- 2.30.2