1# phosphor-psu-code-mgmt 2 3phosphor-psu-code-mgmt is a service to provide management for PSU code, 4including: 5 6* PSU code version 7* PSU code update 8 9 10## Building 11 12``` 13meson build/ && ninja -C build 14``` 15 16## Unit test 17 18* Run it in OpenBMC CI, refer to [local-ci-build.md][1] 19* Run it in [OE SDK][2], run below commands in a x86-64 SDK env: 20 ``` 21 meson -Doe-sdk=enabled -Dtests=enabled build/ 22 ninja -C build/ test # Meson skips running the case due to it thinks it's cross compiling 23 # Manually run the tests 24 for t in `find build/test/ -maxdepth 1 -name "test_*"`; do ./$t || break ; done 25 ``` 26 27[1]: https://github.com/openbmc/docs/blob/master/testing/local-ci-build.md 28[2]: https://github.com/openbmc/docs/blob/master/cheatsheet.md#building-the-openbmc-sdk 29