<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi, <span style="font-family: arial; white-space: pre-wrap;">William,</span></div><div><span style="font-family: arial; white-space: pre-wrap;"><br></span></div><div><span style="font-family: arial; white-space: pre-wrap;">Thanks for your reply.</span></div><pre><span style="color: rgb(0, 0, 255);">You need to have all of the requisite packages in your development environment, then you can run
```
meson setup build
meson test -C build
</span><div><span style="color: rgb(0, 0, 255);">```</span></div><div><font color="#0000ff"><span style="color: rgb(0, 0, 0);">Could you tell me exactly which </span></font><span style="color: rgb(0, 0, 0);">packages are needed £¿</span></div><div><br></div></pre><pre>>The easiest way to do this is to use the docker environment from
>https://github.com/openbmc/openbmc-build-scripts, specifically the
<div>>script `run-unit-test-docker.sh`</div><div>I ran "./run-unit-test-docker.sh" , it shows something errors, I think it maybe need some options.</div><div>Could you give me an example, like test the "sdbusplus"?</div><div><br></div><div>Johny</div><div>Thanks very much</div></pre><pre><div><br></div><div><br></div><div>At 2019-09-12 11:45:26, "William Kennington" <wak@google.com> wrote:</div>>You need to have all of the requisite packages in your development
>environment, then you can run
>```
>meson setup build
>meson test -C build
>```
>which reminds me, i need to update the documentation in the readme...
>
>The easiest way to do this is to use the docker environment from
>https://github.com/openbmc/openbmc-build-scripts, specifically the
>script `run-unit-test-docker.sh`
>
>On Wed, Sep 11, 2019 at 8:26 PM ³£ÏþÃ÷ <xiaoqian1641@163.com> wrote:
>>
>> Hi, OpenBMC development member,
>>
>> I'm learning openbmc via github.
>> I wanted to test the code of OpenBMC through Gtest/Gmock, And I Found the OpenBMC source code already had the test package,but it cannot be compiled according to README.md.
>> I think it may be my compilation method is not correct, Do you have any documentation about this ?
>>
>> Could you tell me How to test "sdeventplus" ?
>>
>> Thanks very mouch.
>> Johny
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
</pre></div><br><br><span title="neteasefooter"><p> </p></span>