A non-static function implemented in some ut/<feature>/*.c file cannot have a corresponding mock function in kernel/emu/lnx/* for other features and tests to use. This will result in a linkage multiple definition conflict. There needs to be a way to avoid linking in within the same build both a kernel implementation function and its corresponding mock within the kunit framework.
A non-static function implemented in some ut/<feature>/*.c file cannot have a corresponding mock function in kernel/emu/lnx/* for other features and tests to use. This will result in a linkage multiple definition conflict. There needs to be a way to avoid linking in within the same build both a kernel implementation function and its corresponding mock within the kunit framework.