Oliver Stöneberg
Oliver Stöneberg
The `test/cli/clang-import_test.py` failures should be fixed by #6733. There are more tests which do not use unique input files which will be affected by this.
``` __________________________ test_color_tty[env0-True] ___________________________ [gw3] darwin -- Python 3.12.5 /usr/local/bin/python3 tmpdir = local('/private/var/folders/3p/1bg9mx4130dgqr_85c65ptwh0000gn/T/pytest-of-runner/pytest-1/popen-gw3/test_color_tty_env0_True_0') env = {}, color_expected = True @pytest.mark.skipif(sys.platform == "win32", reason="TTY not supported in Windows") @pytest.mark.parametrize("env,color_expected", [({}, True),...
> I cannot reproduce this on Linux. I assume this might be because the used file is not unique but I cannot be sure. Needs some looking into. That is...
``` __________________________ test_addon_absolute_path ___________________________ [gw0] win32 -- Python 3.13.0 C:\hostedtoolcache\windows\Python\3.13.0\x64\python.exe def test_addon_absolute_path(): args = [ '--addon=misra', '--enable=style', '--template=cppcheck1', __proj_dir ] ret, stdout, stderr = cppcheck(args) filename = os.path.join(__proj_dir, 'main.c') assert...
``` _______________________________ test_addon_misra _______________________________ [gw1] linux -- Python 3.8.10 /usr/bin/python3 tmpdir = local('/tmp/pytest-of-runner/pytest-0/popen-gw1/test_addon_misra0') def test_addon_misra(tmpdir): test_file = os.path.join(tmpdir, 'test.cpp') with open(test_file, 'wt') as f: f.write(""" typedef int MISRA_5_6_VIOLATION; """) args...
The addons tests fail because of data being created in the source tree - see https://trac.cppcheck.net/ticket/13366.
FYI this saves about half the run-time (40s vs 77s) according to a CI run with otherwise comparable times. This was missed in a few steps which were added after...
This is based on a locally modified version and is still WIP. See the related upstream ticket for more context: https://github.com/include-what-you-use/include-what-you-use/issues/1540.
Still need to clean up the macros. And I would like to get the TODOs addressed as well. The constant for the padding also needs to be adjusted so takes...
This is mostly clean now and reduces the size from 168 bytes to 136 bytes. But the `debugpath` code is broken. And I still want to cleanup the redundancies in...