Skip to content

Commit

Permalink
no false
Browse files Browse the repository at this point in the history
  • Loading branch information
bongbui321 committed Jan 14, 2024
1 parent 027312a commit 8f590be
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/misra/test_mutation.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
# - at least one violation in each safety/safety*.h file
# - come up with a pattern for each rule (cppcheck tests probably have good ones?)
mutations = [
(None, None, False),
# F4 only
("board/stm32fx/llbxcan.h", "s/1U/1/g", True),
# H7 only
Expand Down Expand Up @@ -58,4 +57,4 @@ def test_misra_mutation(fn, patch, should_fail):
assert failed == should_fail

if __name__ == "__main__":
pytest.main([__file__, "-n 8"])
pytest.main([__file__, "-n 4"])

0 comments on commit 8f590be

Please sign in to comment.