From f52c00c3a76136aeb88575fa378690635706b585 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Fri, 7 Apr 2023 19:02:10 +0200 Subject: [PATCH] fixed CI. I remove dump files in cppcheck build dir after analysis. --- test/cli/test-helloworld.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test/cli/test-helloworld.py b/test/cli/test-helloworld.py index 9e6e40c63..d1eada10b 100644 --- a/test/cli/test-helloworld.py +++ b/test/cli/test-helloworld.py @@ -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 '' 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']