Skip to content

Non-static kernel code functions within the tested packages cannot be mocked #1

Description

@ilansmith

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions