Commit bc7f7ff9 by Martin Liska Committed by Martin Liska

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
parent a45de90e
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.
......
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment