Raise file size limit for daca2 from 100kb to 1mb

This commit is contained in:
Alexander Mai 2016-01-31 21:18:50 +01:00
parent e87ac14dd0
commit f8de6a66ca
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ mainpage.write('</head>\n')
mainpage.write('<body>\n')
mainpage.write('<h1>DACA2</h1>\n')
mainpage.write('<p>Results when running latest (git head) Cppcheck on Debian.</p>\n')
mainpage.write('<p>For performance reasons the analysis is limited. Files larger than 100kb are skipped. If analysis of a file takes more than 10 minutes it may be stopped.</p>\n')
mainpage.write('<p>For performance reasons the analysis is limited. Files larger than 1mb are skipped. If analysis of a file takes more than 10 minutes it may be stopped.</p>\n')
mainpage.write('<table class="sortable">\n')
mainpage.write(
'<tr>' +

View File

@ -116,7 +116,7 @@ def removeLargeFiles(path):
removeLargeFiles(g + '/')
elif os.path.isfile(g) and g[-4:] != '.txt':
statinfo = os.stat(g)
if path.find('/clang/INPUTS/') > 0 or statinfo.st_size > 100000:
if path.find('/clang/INPUTS/') > 0 or statinfo.st_size > 10000000:
os.remove(g)