[OE-core] [PATCH] oeqa/runtime: Added skip condition to kernel module test

Lucian Musat george.l.musat at intel.com
Fri Jul 17 14:17:54 UTC 2015


because it caused failures in core-image-lsb images.

Signed-off-by: Lucian Musat <george.l.musat at intel.com>
---
 meta/lib/oeqa/runtime/kernelmodule.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/lib/oeqa/runtime/kernelmodule.py b/meta/lib/oeqa/runtime/kernelmodule.py
index 2e81720..9318c28 100644
--- a/meta/lib/oeqa/runtime/kernelmodule.py
+++ b/meta/lib/oeqa/runtime/kernelmodule.py
@@ -6,6 +6,8 @@ from oeqa.utils.decorators import *
 def setUpModule():
     if not oeRuntimeTest.hasFeature("tools-sdk"):
         skipModule("Image doesn't have tools-sdk in IMAGE_FEATURES")
+    if oeRuntimeTest.hasPackage("lsbtest"):
+        skipModule("Skipping because it's an LSB image.")
 
 
 class KernelModuleTest(oeRuntimeTest):
-- 
2.1.4




More information about the Openembedded-core mailing list