YASL Request
Patrick Venture
venture at google.com
Fri Apr 13 01:20:06 AEST 2018
On Thu, Apr 12, 2018 at 7:25 AM, Alexander Amelkin <a.amelkin at yadro.com> wrote:
> 11.04.2018 05:34, Brad Bishop wrote:
>>> On Apr 9, 2018, at 6:27 PM, Patrick Venture <venture at google.com> wrote:
>>>
>>> Everyone,
>>>
>>> I'm working on unit-testing in openbmc, and have cracked most of
>>> sdbusplus into mockable pieces and verified I can in fact test against
>>> those mocks with a downstream daemon. I'll be grabbing an upstream
>>>
>>> ...
>>>
>>> YASL (yet-another-shared-library) Request.
>> Can you talk more about what goes in this?
>>
>> Do you envision something like:
>>
>> openbmc repo -> upstream project being wrapped
>> libcmock -> glibc
>> libstdc++mock -> libstdc++
>> libsystemdmock -> libsystemd (or sdbusplusmock)
>> libfoomock -> libfoo
>> libbarmock -> libbarmock
>>
> Is there going to be support in the standard library to mock linux sysfs
> for phosphor-hwmon?
Yes, really we just need to mock the path look-ups and file reads. So
if they ask to a list of files in a path, we can return whatever list
we want.
>
More information about the openbmc
mailing list