oeqa/sdk/cases/buildgalculator.py: skip if gettext not available
PATCH v2 1/1 oeqa/sdk/cases/buildgalculator.py: skip if gettext not available
In reply to Chen QiWe need to skip this testcase when gettext is not available. Otherwise, we will have the following error at configure.
error: possibly undefined macro: AM_NLS
--- meta/lib/oeqa/sdk/cases/buildgalculator.py | 2 ++ 1 file changed, 2 insertions(+)
meta/lib/oeqa/sdk/cases/buildgalculator.py +2 -0
@@ -11,6 +11,8 @@ class GalculatorTest(OESDKTestCase): if not (self.tc.hasTargetPackage("gtk\+3") or\ self.tc.hasTargetPackage("libgtk-3.0")): raise unittest.SkipTest("GalculatorTest class: SDK don't support gtk+3") + if not (self.tc.hasTargetPackage("gettext")): + raise unittest.SkipTest("GalculatorTest class: SDK doesn't contain gettext") def test_galculator(self): dl_dir = self.td.get('DL_DIR', None)
Signature · 1 line
1.9.1
v2 cover oeqa/sdk/cases/buildgalculator.py: skip if gettext not available
Changes in V2:
* Fix to use hasTargetPackage instead of non-existent hasPrefixedTargetPackage
The following changes since commit 13cc30cd7de4841990b600e83e1249c81a5171dd:
local.conf.sample.extended: Drop obsolete rpc and libnsl (2018-05-15 11:07:50 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/buildgalculator-gettext
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/buildgalculator-gettext
Chen Qi (1):
oeqa/sdk/cases/buildgalculator.py: skip if gettext not available
meta/lib/oeqa/sdk/cases/buildgalculator.py | 2 ++ 1 file changed, 2 insertions(+)
Signature · 1 line
1.9.1