Bug 205495 - experimental: mocking: KUnit function mocks do not support functions with no parameters
Summary: experimental: mocking: KUnit function mocks do not support functions with no ...
Status: RESOLVED OBSOLETE
Alias: None
Product: Tools
Classification: Unclassified
Component: KUnit (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Tools/KUnit virtual default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-11 23:37 UTC by Brendan Higgins
Modified: 2023-02-22 23:35 UTC (History)
1 user (show)

See Also:
Kernel Version: kunit/experimental (4.19)
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Brendan Higgins 2019-11-11 23:37:31 UTC
DEFINE_FUNCTION_MOCK(...) does not support functions that take no parameters.

Originally reported here: https://groups.google.com/forum/#!topic/kunit-dev/WVM-ilgUlEI
Comment 1 Brendan Higgins 2023-02-22 23:35:33 UTC
Function mocking is different now making this bug obsolete.

Note You need to log in before you can comment on or make changes to this bug.