Fw:How to use gtest/gmock in openbmc
常晓明
xiaoqian1641 at 163.com
Sat Sep 14 16:23:58 AEST 2019
Hi, Samuel
Thank you for your reply.
I followed your suggest steps to compile code, and something goes wrong like this:
1.Compile environment first follow by build using the SDK document ---- It's done.
2. In "sdbusplus" package, run "./bootstrap.sh" then "./configure ${CONFIGURE_FLAGS}." --- It's done
3. Then do "Make", It shows:
So,the "test" is not compiled, do you know why?
Jony
Thanks
At 2019-09-12 11:51:58, "Samuel Jiang" <chyishian.jiang at gmail.com> wrote:
Hi Johny,
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.
You need the compile environment first follow by build using the SDK document.
update README.md step ./configure to ./configure ${CONFIGURE_FLAGS}.
I think it could be compiled after executing above steps.
Thanks,
Samuel Jiang
On Sep 12, 2019, 11:26 AM +0800, 常晓明 <xiaoqian1641 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20190914/f07c8f53/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gtest_make.png
Type: image/png
Size: 70912 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20190914/f07c8f53/attachment-0001.png>
More information about the openbmc
mailing list