generic-poky/meta
Richard Purdie ffd7cac8f6 oeqa/selftest/recipetool: Fix appendfile_binary test on opensuse131
On OpenSUSE 13.1, /bin/ls is a symlink to /usr/bin/ls. This means the
test doesn't use a binary file an fails on that system.

Ensure we resolve any symlink using readlink to avoid this failure.

======================================================================
FAIL: test_recipetool_appendfile_binary (oeqa.selftest.recipetool.RecipetoolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/recipetool.py", line 115, in test_recipetool_appendfile_binary
    self.assertIn('WARNING: ', result.output)
AssertionError: 'WARNING: ' not found in 'Parsing recipes..done.\nNOTE: Writing append file /tmp/recipetoolqai0NY8l/recipes-core/coreutils/coreutils_8.23.bbappend\nNOTE: Copying /bin/ls to /tmp/recipetoolqai0NY8l/recipes-core/coreutils/coreutils/ls'

[YOCTO #7920]

(From OE-Core rev: 792107de1586336f4a734557c0c3fa36a1174e9e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-06-26 09:27:31 +01:00
..
classes oe/utils.py: Add support for init/end helper functions in ThreadWorker. 2015-06-26 09:27:30 +01:00
conf meta: Add explict getVar param for (non) expansion 2015-06-23 11:57:25 +01:00
files Add license file XFree86-1.0 2015-06-11 23:59:18 +01:00
lib oeqa/selftest/recipetool: Fix appendfile_binary test on opensuse131 2015-06-26 09:27:31 +01:00
recipes-bsp pcmciautils: fix the parallel building issue 2015-05-20 21:41:04 +01:00
recipes-connectivity wpa-supplicant: Revert "Make SystemD D-Bus config conditional" 2015-06-24 14:04:14 +01:00
recipes-core meta-environment: Ensure we append to the default TOOLCHAIN_NEED_CONFIGSITE_CACHE 2015-06-23 16:07:23 +01:00
recipes-devtools apt-native: Drop obsolete symlinks 2015-06-23 16:07:23 +01:00
recipes-extended meta: Add explict getVar param for (non) expansion 2015-06-23 11:57:25 +01:00
recipes-gnome gtk+: Upgrade 2.24.27 -> 2.24.28 2015-06-23 11:46:57 +01:00
recipes-graphics libsdl2: PACKAGECONFIGize 2015-06-23 11:46:57 +01:00
recipes-kernel babeltrace: Fix invalid pointer free with trace collection 2015-06-23 11:47:20 +01:00
recipes-lsb4 libpng12: Upgrade 1.2.52 -> 1.2.53 2015-05-24 07:19:20 +01:00
recipes-multimedia pulseaudio: fix version when building inside a dirty git checkout 2015-06-11 23:59:19 +01:00
recipes-qt meta: Add explict getVar param for (non) expansion 2015-06-23 11:57:25 +01:00
recipes-rt rt-tests: bump version to v0.92 2015-06-23 11:47:21 +01:00
recipes-sato packagegroup-core-x11-sato: add PulseAudio 2015-05-24 07:19:22 +01:00
recipes-support meta: Add explict getVar param for (non) expansion 2015-06-23 11:57:25 +01:00
site siteinfo: account for 32 and 64 bit arm 2014-12-23 10:18:17 +00:00
COPYING.GPLv2 Fix license notices for OE-Core 2014-01-02 12:58:54 +00:00
COPYING.MIT
recipes.txt meta/recipes.txt: add recipes-lsb4 2013-04-10 09:23:17 +01:00