aboutsummaryrefslogtreecommitdiff
path: root/contrib/mklog
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2019-09-04 10:08:20 +0200
committerMartin Liska <marxin@gcc.gnu.org>2019-09-04 08:08:20 +0000
commitbc7f7ff954679ac46771f56cbb947a4c19557d98 (patch)
tree7324639a2241458a2d29e07fe131631b85e93e1d /contrib/mklog
parenta45de90e56960a2607f83d0e44dd3725dc125ce9 (diff)
downloadgcc-bc7f7ff954679ac46771f56cbb947a4c19557d98.zip
gcc-bc7f7ff954679ac46771f56cbb947a4c19557d98.tar.gz
gcc-bc7f7ff954679ac46771f56cbb947a4c19557d98.tar.bz2
mklog: Do not print changed functions in testsuite
2019-09-04 Martin Liska <mliska@suse.cz> * mklog: Do not print changed functions for testsuite files. From-SVN: r275369
Diffstat (limited to 'contrib/mklog')
-rwxr-xr-xcontrib/mklog3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/mklog b/contrib/mklog
index 8524200..1a0e82d 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):