summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/network
diff options
context:
space:
mode:
authorGeorge Liu <liuxiwei@inspur.com>2023-04-13 09:14:23 +0300
committerGeorge Liu <liuxiwei@inspur.com>2023-04-13 09:14:23 +0300
commita9805696c96b13f5974cd371e74d818c007b12f5 (patch)
tree983862736a04fefcf98519402845fdd6c757f26d /meta-phosphor/recipes-phosphor/network
parent96467303871dd2318abe9b0f8e878c300ef165af (diff)
downloadopenbmc-a9805696c96b13f5974cd371e74d818c007b12f5.tar.xz
meta-phosphor: phosphor-snmp: Disable test
The `tests` should not compile when I built BMC, This is a convention that we disable `tests` in Yocto builds. Tested: built phosphor-snmp passes. Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I060be140e7fcab7609d8ef9d79bd01073df834d3
Diffstat (limited to 'meta-phosphor/recipes-phosphor/network')
-rw-r--r--meta-phosphor/recipes-phosphor/network/phosphor-snmp_git.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/network/phosphor-snmp_git.bb b/meta-phosphor/recipes-phosphor/network/phosphor-snmp_git.bb
index ae9df3d9b7..1fff205376 100644
--- a/meta-phosphor/recipes-phosphor/network/phosphor-snmp_git.bb
+++ b/meta-phosphor/recipes-phosphor/network/phosphor-snmp_git.bb
@@ -20,4 +20,8 @@ inherit meson pkgconfig
inherit python3native
inherit obmc-phosphor-dbus-service
+EXTRA_OEMESON = " \
+ -Dtests=disabled \
+ "
+
DBUS_SERVICE:${PN} += "xyz.openbmc_project.Network.SNMP.service"