fixed CI. I remove dump files in cppcheck build dir after analysis.

This commit is contained in:
Daniel Marjamäki 2023-04-07 19:02:10 +02:00
parent 5524bb4e58
commit f52c00c3a7
1 changed files with 1 additions and 4 deletions

View File

@ -191,11 +191,8 @@ def test_build_dir_dump_output():
filename = f'{tempdir}/main.a1.*.dump'
filelist = glob.glob(filename)
assert(len(filelist) == 1)
assert(len(filelist) == 0)
with open(filelist[0], 'rt') as f:
dump = f.read()
assert '</dump>' in dump, 'invalid dump data: ...' + dump[-100:]
def __test_missing_include_system(use_j):
args = ['--enable=missingInclude', '--suppress=zerodiv', '--template={file}:{line}:{column}: {severity}:{inconclusive:inconclusive:} {message} [{id}]', 'helloworld']