commit | 6520748d82541cc231a56350e18e9ac1585e3599 | [log] [tgz] |
---|---|---|
author | Lei YU <mine260309@gmail.com> | Fri Oct 11 16:39:36 2019 +0800 |
committer | Lei YU <mine260309@gmail.com> | Tue Oct 29 11:24:04 2019 +0800 |
tree | 00f84bd2805f182b3dbf3be58c2e379389d0879a | |
parent | c09155bb12392fdcd0b3dc63c5a18ef0a2a0d82a [diff] |
utils: Add function to get the latest version This repo does not know which PSU version is the latest, and it lets the vendor tool to decide which one is the latest. This commit defines PSU_VERSION_COMPARE_UTIL which is expected to be a tool that accepts arguments of a list of versions, and returns the latest version string. Tested: Put and configure to use the example get_latest_version on Witherspoon, verify the versionId with a larger version string is returned. Signed-off-by: Lei YU <mine260309@gmail.com> Change-Id: Ic5a10d3724cf6a98b3979486c72d54f8deac7038
phosphor-psu-code-mgmt is a service to provide management for PSU code, including:
meson build/ && ninja -C build
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