On Thu, Aug 6, 2020 at 10:43 AM Uriel Guajardo urielguajardojr@gmail.com wrote:
Adds an API to allow dynamic analysis tools to fail the currently running KUnit test case.
- Always places the kunit test in the task_struct to allow other tools
to access the currently running KUnit test.
- Creates a new header file to avoid circular dependencies that could be
created from the test.h file.
Requires KASAN-KUnit integration patch to access the kunit test from task_struct: https://lore.kernel.org/linux-kselftest/20200606040349.246780-2-davidgow@goo...
Signed-off-by: Uriel Guajardo urielguajardo@google.com
Reviewed-by: Brendan Higgins brendanhiggins@google.com