summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/wic.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/selftest/wic.py')
-rw-r--r--meta/lib/oeqa/selftest/wic.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py
index df5e060fb0..8030c35117 100644
--- a/meta/lib/oeqa/selftest/wic.py
+++ b/meta/lib/oeqa/selftest/wic.py
@@ -77,7 +77,10 @@ class Wic(oeSelfTest):
77 # clean up which can result in the native tools built earlier in 77 # clean up which can result in the native tools built earlier in
78 # setUpClass being unavailable. 78 # setUpClass being unavailable.
79 if not Wic.image_is_ready: 79 if not Wic.image_is_ready:
80 bitbake('wic-tools') 80 if get_bb_var('USE_NLS') == 'yes':
81 bitbake('wic-tools')
82 else:
83 self.skipTest('wic-tools cannot be built due its (intltool|gettext)-native dependency and NLS disable')
81 84
82 bitbake('core-image-minimal') 85 bitbake('core-image-minimal')
83 Wic.image_is_ready = True 86 Wic.image_is_ready = True