# phosphor-psu-code-mgmt phosphor-psu-code-mgmt is a service to provide management for PSU code, including: * PSU code version * PSU code update ## Building ``` meson build/ && ninja -C build ``` ## Unit test * Run it in OpenBMC CI, refer to [local-ci-build.md][1] * Run it in [OE SDK][2], run below commands in a x86-64 SDK env: ``` meson -Doe-sdk=enabled -Dtests=enabled build/ ninja -C build/ test # Meson skips running the case due to it thinks it's cross compiling # Manually run the tests for t in `find build/test/ -maxdepth 1 -name "test_*"`; do ./$t || break ; done ``` [1]: https://github.com/openbmc/docs/blob/master/testing/local-ci-build.md [2]: https://github.com/openbmc/docs/blob/master/cheatsheet.md#building-the-openbmc-sdk