commit | 64b7621ca4892b8fdeb2d850ae2758d1e919d8c6 | [log] [tgz] |
---|---|---|
author | Wang Xiaohua <wangxiaohua.1217@bytedance.com> | Thu Aug 11 13:23:53 2022 +0800 |
committer | Vernon Mauery <vernon.mauery@linux.intel.com> | Mon Aug 07 21:17:40 2023 +0000 |
tree | c4e724e0875dba7dc2c666b745c99c5ada3e38be | |
parent | 292c917e4d4635640923d3c95885650d8f30c05f [diff] |
sensorhandler: Get sensor type and event type from yaml-generated Get the sensor type and event type from the yaml-generated cpp Tested: ``` <1>. Verify the voltage sensor, the return value should be "02 01" ipmitool raw 0x04 0x2f 0xa0 02 01 <2>. Verfity the temp sensor, the return value should be "01 01" ipmitool raw 0x04 0x2f 0x01 01 01 <3>. Verify the power sensor, the return value should be "0b 01" ipmitool raw 0x04 0x2f 0xe6 0b 01 <4>. verify the SYS_FAN_Status sensor, the return value should be "04 07" ipmitool raw 0x04 0x2f 0xda 04 07 ``` Signed-off-by: Wang Xiaohua <wangxiaohua.1217@bytedance.com> Change-Id: I24771d0f7ff2b6cd0f3d91521a640125d5d0ff0a
meson builddir ninja -C builddir
meson builddir -Dbuildtype=minsize -Db_lto=true -Dtests=disabled ninja -C builddir
If any of the dependencies are not found on the host system during configuration, meson automatically gets them via its wrap dependencies mentioned in ipmid/subprojects
.
meson builddir -Dwrap_mode=nofallback ninja -C builddir
meson builddir -Dbuildtype=debug ninja -C builddir
meson builddir -Db_coverage=true -Dtests=enabled ninja -C builddir test ninja -C builddir coverage