mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 00:32:12 +02:00
oeqa/sdk/buildsudoku.py: add setUpModule method to run only when gtk+ in installed.
Adding setUpModule in order to skip the module when gtk+ is not installed in the toolchain. (From OE-Core rev: 97ac0fc33b9277825089ac36f9037d472d397b71) Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
e2b4dde94c
commit
61e3e41ad2
@@ -2,6 +2,10 @@ from oeqa.oetest import oeSDKTest, skipModule
|
||||
from oeqa.utils.decorators import *
|
||||
from oeqa.utils.targetbuild import SDKBuildProject
|
||||
|
||||
def setUpModule():
|
||||
if not oeSDKTest.hasPackage("gtk\+"):
|
||||
skipModule("Image doesn't have gtk+ in manifest")
|
||||
|
||||
class SudokuTest(oeSDKTest):
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user