Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
danmar committed Sep 27, 2024
1 parent 4f2b3b8 commit a18d44e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/cli/whole-program_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def test_addon_rerun(tmpdir, jobs, builddir):
'--template={id}',
'whole-program']
if builddir:
args.append('--cppcheck-build-dir=' + tmpdir)
args.append('--cppcheck-build-dir=' + str(tmpdir))
_, _, stderr = cppcheck(args, cwd=__script_dir)
assert 'misra-c2012-5.8' in stderr
_, _, stderr = cppcheck(args, cwd=__script_dir)
Expand All @@ -232,7 +232,7 @@ def test_addon_rerun(tmpdir, jobs, builddir):
def test_addon_builddir_use_ctuinfo(tmpdir, jobs):
"""Test that ctu-info files are used when builddir is used"""
args = [
'--cppcheck-build-dir=' + tmpdir,
'--cppcheck-build-dir=' + str(tmpdir),
'-j%i' % jobs,
'--addon=misra',
'--enable=style',
Expand Down

0 comments on commit a18d44e

Please sign in to comment.