• Rae Moar's avatar
    kunit: Add module attribute · a00a7270
    Rae Moar authored
    Add module attribute to the test attribute API. This attribute stores the
    module name associated with the test using KBUILD_MODNAME.
    
    The name of a test suite and the module name often do not match. A
    reference to the module name associated with the suite could be extremely
    helpful in running tests as modules without needing to check the codebase.
    
    This attribute will be printed for each suite.
    Reviewed-by: default avatarDavid Gow <davidgow@google.com>
    Signed-off-by: default avatarRae Moar <rmoar@google.com>
    Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
    a00a7270
test.h 52.6 KB