31-01-2019, 06:57 PM
What does it mean to be "tested in a meaningful manner"?
Is there any requirement on what is done once tested? For example, if there is no corrective action is it sufficient to just log the error?
Does returning the error to the caller qualify? In an API, the implementation of a API function may call subsequent functions that return an error. If only one such function is called then the only thing to do with the error is return it to the original caller.
err_t func1(void)
{
}
err_t func2(void)
{
return func1();
}
In our project, almost the entire code base running on the uC is a library exposed via an IPC link. All errors are just propagated back up and eventually sent back across the link to the caller.
Is there any requirement on what is done once tested? For example, if there is no corrective action is it sufficient to just log the error?
Does returning the error to the caller qualify? In an API, the implementation of a API function may call subsequent functions that return an error. If only one such function is called then the only thing to do with the error is return it to the original caller.
err_t func1(void)
{
}
err_t func2(void)
{
return func1();
}
In our project, almost the entire code base running on the uC is a library exposed via an IPC link. All errors are just propagated back up and eventually sent back across the link to the caller.
<t></t>