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
This commit is contained in:
Martin Liska 2019-09-04 10:08:20 +02:00 committed by Martin Liska
parent a45de90e56
commit bc7f7ff954
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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

View File

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