From: Martin Liska Date: Wed, 4 Sep 2019 08:08:20 +0000 (+0200) Subject: mklog: Do not print changed functions in testsuite X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bc7f7ff954679ac46771f56cbb947a4c19557d98;p=gcc.git 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 --- 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):