diff options
author | Corneliu Stoicescu <corneliux.stoicescu@intel.com> | 2014-08-26 13:05:44 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-27 12:12:06 +0100 |
commit | 97ac0fc33b9277825089ac36f9037d472d397b71 (patch) | |
tree | 0b55bb3a20c38dca56b528c44ebf8032d54f5ba0 | |
parent | 54436aeed5ac5e0da0779919f8524a0603e19c6a (diff) | |
download | openembedded-core-97ac0fc33b9277825089ac36f9037d472d397b71.tar.gz openembedded-core-97ac0fc33b9277825089ac36f9037d472d397b71.tar.bz2 openembedded-core-97ac0fc33b9277825089ac36f9037d472d397b71.zip |
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.
Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/lib/oeqa/sdk/buildsudoku.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/lib/oeqa/sdk/buildsudoku.py b/meta/lib/oeqa/sdk/buildsudoku.py index 6a60c76be8..dea77c6599 100644 --- a/meta/lib/oeqa/sdk/buildsudoku.py +++ b/meta/lib/oeqa/sdk/buildsudoku.py @@ -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 |