aboutsummaryrefslogtreecommitdiff
path: root/contrib
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
parenta45de90e56960a2607f83d0e44dd3725dc125ce9 (diff)
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')
-rw-r--r--contrib/ChangeLog5
-rwxr-xr-xcontrib/mklog3
2 files changed, 7 insertions, 1 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 5e4ec60ae3a..743fe00861f 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,5 +1,10 @@
2019-09-04 Martin Liska <mliska@suse.cz>
+ * mklog: Do not print changed functions for
+ testsuite files.
+
+2019-09-04 Martin Liska <mliska@suse.cz>
+
* mklog: Parse PR references from newly added
test files.
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):