e979b0652c
* misra.py: Fixup load rules parser. * misra.py: Report when rule text is missing in rule-texts file * misra.py: Allow to skip misra checks not specified in rule-texts. * misra.py: Remove top-level control flow. Create separate class that stores settings, instead of global variables. This is required to perform imports from misra.py for testing purposes. * misra.py: Add simple pytest test for load rules. * misra.py: Add document structure tests. * misra.py: Exit after show rules table. * misra.py: Add document structure tests. * misra.py: Fixup import pitfall with python2 * misra.py: Minor fixes |
||
---|---|---|
.. | ||
assets | ||
path1 | ||
__init__.py | ||
cert-test.c | ||
cert-test.cpp | ||
misc-test.cpp | ||
misra-suppressions1-test.c | ||
misra-suppressions2-test.c | ||
misra-test.c | ||
misra-test.cpp | ||
misra2012_rules_dummy_ascii.txt | ||
misra2012_rules_dummy_utf8.txt | ||
misra2012_rules_dummy_windows1250.txt | ||
naming_test.c | ||
namingng_test.c | ||
suppressions.txt | ||
test-misra.py |