Remove unit tests from dot diagram

main
Bob Mottram 2020-12-23 14:19:06 +00:00
parent 76a634b9dd
commit 549faf8b85
1 changed files with 4 additions and 0 deletions

View File

@ -2867,6 +2867,8 @@ def testFunctions():
callGraphStr += ' node [style=filled];\n'
moduleFunctionsStr = ''
for name in modProperties['functions']:
if name.startswith('test'):
continue
if name not in excludeFuncs:
moduleFunctionsStr += '"' + name + '" '
if moduleFunctionsStr:
@ -2878,6 +2880,8 @@ def testFunctions():
if not properties['calls']:
continue
for calledFunc in properties['calls']:
if calledFunc.startswith('test'):
continue
if calledFunc not in excludeFuncs:
callGraphStr += ' "' + name + '" -> "' + calledFunc + '";\n'