diff options
Diffstat (limited to 'util/find_non_exec_lines.py')
-rwxr-xr-x | util/find_non_exec_lines.py | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/util/find_non_exec_lines.py b/util/find_non_exec_lines.py index e88d3f61ff..af5e972c79 100755 --- a/util/find_non_exec_lines.py +++ b/util/find_non_exec_lines.py @@ -36,7 +36,16 @@ def main() -> int: active_name = line[3:] # There are several files in zephyr that have odd coverage # but it seems consistent. - if not "src/third_party/zephyr" in active_name: + if ( + not "src/third_party/zephyr/cmsis/CMSIS/Core/Include/core_cm4.h" + in active_name + and not "src/third_party/zephyr/main/arch/arm/core/aarch32/mpu/arm_mpu.c" + in active_name + and not "src/third_party/zephyr/main/drivers/clock_control/clock_control_mchp_xec.c" + in active_name + and not "src/third_party/zephyr/main/lib/libc/minimal/include/" + in active_name + ): active_file = open( # pylint: disable=R1732 active_name, encoding="utf-8" ) |