+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
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):