Skip to content

Commit

Permalink
Clear big cppcheck dumps
Browse files Browse the repository at this point in the history
  • Loading branch information
dzid26 committed Jun 5, 2024
1 parent d505a76 commit b9e64f8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/misra/test_mutation.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@

@pytest.mark.parametrize("fn, patch, should_fail", mutations)
def test_misra_mutation(fn, patch, should_fail):
# Remove all files generated by cppcheck to speed tree copying
[os.remove(f) for f in glob.glob(f"{ROOT}/**/*", recursive=True) if f.endswith(('.dump', '.ctu-info'))]

with tempfile.TemporaryDirectory() as tmp:
shutil.copytree(ROOT, tmp, dirs_exist_ok=True)

Expand Down

0 comments on commit b9e64f8

Please sign in to comment.