commit | 6615d479a694ead0e806f34d16d79dcbd69fae5d | [log] [tgz] |
---|---|---|
author | Tom Tung <shes050117@gmail.com> | Wed May 31 18:48:12 2023 +0800 |
committer | Vernon Mauery <vernon.mauery@linux.intel.com> | Fri Jun 02 22:49:10 2023 +0000 |
tree | 0d62707e67a281f30cb04f723486500f5455559e | |
parent | d74df5f2cbc7c1bdc6ff7f60cee488668b542614 [diff] |
dbus-sdr: Log error only after all paths failed getManagedObjects is now checking multiple paths and log errors whenever it fails with a path. However, for instance, xyz.openbmc_project.ExternalSensor only supports /xyz/openbmc_project/sensors (and not supports /xyz/openbmc_project/vr). We should only log error when getManagedObjects fail for all paths. Also, log the service name when failing. Tested: with the change, there is no getManagedObjects errors in our system. Change-Id: Icafeae61a640ccc3e196e5ade8de2676994aae04 Signed-off-by: Tom Tung <shes050117@gmail.com>
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