summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2018-05-18 11:44:50 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-05-29 21:07:13 +0100
commitf0520721fd7b7312556915116c8975a485cd4ee9 (patch)
tree5660af95df9f64edcd5b9245089c979c55ceaff6 /meta/lib
parent3a22e2c44743e25cb34bcba5911db3834b15741b (diff)
downloadpoky-f0520721fd7b7312556915116c8975a485cd4ee9.tar.gz
oeqa/sdk/cases/buildgalculator.py: skip if gettext not available
We 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 (From OE-Core rev: ccc10e95c9fcdabcf4ae5e6f9cc34c1d632b4654) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oeqa/sdk/cases/buildgalculator.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oeqa/sdk/cases/buildgalculator.py b/meta/lib/oeqa/sdk/cases/buildgalculator.py
index 780afccc74..5a5bf992eb 100644
--- a/meta/lib/oeqa/sdk/cases/buildgalculator.py
+++ b/meta/lib/oeqa/sdk/cases/buildgalculator.py
@@ -11,6 +11,8 @@ class GalculatorTest(OESDKTestCase):
11 if not (self.tc.hasTargetPackage("gtk\+3") or\ 11 if not (self.tc.hasTargetPackage("gtk\+3") or\
12 self.tc.hasTargetPackage("libgtk-3.0")): 12 self.tc.hasTargetPackage("libgtk-3.0")):
13 raise unittest.SkipTest("GalculatorTest class: SDK don't support gtk+3") 13 raise unittest.SkipTest("GalculatorTest class: SDK don't support gtk+3")
14 if not (self.tc.hasTargetPackage("gettext")):
15 raise unittest.SkipTest("GalculatorTest class: SDK doesn't contain gettext")
14 16
15 def test_galculator(self): 17 def test_galculator(self):
16 dl_dir = self.td.get('DL_DIR', None) 18 dl_dir = self.td.get('DL_DIR', None)