From: Costin Constantin Date: Wed, 26 Aug 2015 12:54:21 +0000 (+0300) Subject: runtime/syslog.py: fix syslog test crash X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~29280 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=74d02c942414a193a01367c0a32bf91a3329a8d4;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git runtime/syslog.py: fix syslog test crash This patch fixes the ability to correctly identify syslog's package name for the built image. It is derived from modifying oeqa/oetest.py for [YOCTO #8170] Signed-off-by: Costin Constantin Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oeqa/runtime/syslog.py b/meta/lib/oeqa/runtime/syslog.py index dbaf8c6253b..2601dd9ea89 100644 --- a/meta/lib/oeqa/runtime/syslog.py +++ b/meta/lib/oeqa/runtime/syslog.py @@ -3,7 +3,7 @@ from oeqa.oetest import oeRuntimeTest, skipModule from oeqa.utils.decorators import * def setUpModule(): - if not oeRuntimeTest.hasPackage("syslog"): + if not (oeRuntimeTest.hasPackage("busybox-syslog") or oeRuntimeTest.hasPackage("sysklogd")): skipModule("No syslog package in image") class SyslogTest(oeRuntimeTest):