]> code.ossystems Code Review - openembedded-core.git/commit
selftest/wic: skip wic unit tests in case NLS is disable
authorLeonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Wed, 5 Apr 2017 22:34:26 +0000 (15:34 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 8 Apr 2017 21:48:06 +0000 (22:48 +0100)
commitccd2faca99331e010badbb78d42b0ee644ca1a0a
tree66f63dab070078e12e9c15a55f01b22fca48fa17
parent8e30b726c44f873e5fd9d3f36c3464a29b97abd8
selftest/wic: skip wic unit tests in case NLS is disable

WIC test case requires wic-tools which in turn depends on intltool-native and
gettext-native. However, if NLS is disable, the gettext-minimal-native is used instead
of gettext-native causing a failure on intltool-native as seen below:

  checking for msgfmt... no
  checking for gmsgfmt... no
  configure: error: GNU gettext tools not found; required for intltool
  ERROR: Function failed: do_configure (log file is located at /home/lsandov1/poky/build/tmp/work/i586-poky-linux-musl/systemd-boot/232-r0/temp/log.do_configure.7518)
  ERROR: Task (/home/lsandov1/poky/meta/recipes-bsp/systemd-boot/systemd-boot_232.bb:do_configure) failed with exit code '1'
  NOTE: Tasks Summary: Attempted 609 tasks of which 604 didn't need to be rerun and 1 failed.

[YOCTO #10902]

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/wic.py