How to run tests in bmcweb

Lei YU mine260309 at gmail.com
Fri Nov 1 19:59:34 AEDT 2019


I am trying to add a unit test case in bmcweb and run it.
With local CI, the tests are not run:

 WORKSPACE=$(pwd) UNIT_TEST_PKG=bmcweb
./openbmc-build-scripts/run-unit-test-docker.sh
 ...
 [100%] Built target bmcweb
 /home/leiyu/work/bmcweb > ctest .
 Test project /home/leiyu/work/bmcweb
 No tests were found!!!
 ...

So the question is, how do I run tests in bmcweb? Should
openbmc-build-scripts be updated to support that?

Thanks!


More information about the openbmc mailing list