tests: coverage: exclude the CODE UNREACHABLE of code coverage
1. Exclude the CODE UNREACHABLE line while generating coverage report. 2. Exclude the memory domain deprecated API when calculating code coverage. Signed-off-by: Enjia Mai <enjiax.mai@intel.com>
This commit is contained in:
parent
07d67c1bd4
commit
53ca709828
10 changed files with 11 additions and 9 deletions
|
@ -37,7 +37,7 @@ void _StackCheckHandler(void)
|
|||
/* Stack canary error is a software fatal condition; treat it as such.
|
||||
*/
|
||||
z_except_reason(K_ERR_STACK_CHK_FAIL);
|
||||
CODE_UNREACHABLE;
|
||||
CODE_UNREACHABLE; /* LCOV_EXCL_LINE */
|
||||
}
|
||||
|
||||
/* Global variable */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue