diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2018-05-18 11:44:50 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-05-29 11:25:05 +0100 |
commit | ccc10e95c9fcdabcf4ae5e6f9cc34c1d632b4654 (patch) | |
tree | d5b05435c70b818493b2610eb542f5ad7e705685 | |
parent | ecd9bae1ace2f2a457890b8a6ae8e2376a736747 (diff) | |
download | openembedded-core-ccc10e95c9fcdabcf4ae5e6f9cc34c1d632b4654.tar.gz openembedded-core-ccc10e95c9fcdabcf4ae5e6f9cc34c1d632b4654.tar.bz2 openembedded-core-ccc10e95c9fcdabcf4ae5e6f9cc34c1d632b4654.zip |
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
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r-- | meta/lib/oeqa/sdk/cases/buildgalculator.py | 2 |
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): 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) |