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:31 +0100 |
| commit | 61e3e41ad2e50668931783a02c4bec8522744e76 (patch) | |
| tree | 69cef7104d1c4685060298f0e186adee939b357a /meta/lib/oeqa/sdk/buildsudoku.py | |
| parent | e2b4dde94c05ac3d11e1f25c1bb12affd58c1643 (diff) | |
| download | poky-61e3e41ad2e50668931783a02c4bec8522744e76.tar.gz | |
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>
Diffstat (limited to 'meta/lib/oeqa/sdk/buildsudoku.py')
| -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 | |||
| 2 | from oeqa.utils.decorators import * | 2 | from oeqa.utils.decorators import * |
| 3 | from oeqa.utils.targetbuild import SDKBuildProject | 3 | from oeqa.utils.targetbuild import SDKBuildProject |
| 4 | 4 | ||
| 5 | def setUpModule(): | ||
| 6 | if not oeSDKTest.hasPackage("gtk\+"): | ||
| 7 | skipModule("Image doesn't have gtk+ in manifest") | ||
| 8 | |||
| 5 | class SudokuTest(oeSDKTest): | 9 | class SudokuTest(oeSDKTest): |
| 6 | 10 | ||
| 7 | @classmethod | 11 | @classmethod |
