generic-poky/meta
Leonardo Sandoval 4f8959324d oeqa/selftest/recipetool.py: Tweak matching of warning line
We are observing cases (see below) where the 'WARNING:' prefix is not at the
beginning of a line, so instead of expecting it in the beginning, match it
within the string.

    ======================================================================
    FAIL: test_recipetool_appendfile_patch (oeqa.selftest.recipetool.RecipetoolTests)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/utils/decorators.py", line 109, in wrapped_f
        return func(*args, **kwargs)
      File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/recipetool.py", line 285, in test_recipetool_appendfile_patch
        self.fail('Patch warning not found in output:\n%s' % output)
    AssertionError: Patch warning not found in output:
    Parsing recipes..WARNING: File /etc/selftest-replaceme-patched is added by the patch /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta-selftest/recipes-test/recipetool/files/add-file.patch - you may need to remove or replace this patch in order to replace the file.
    NOTE: Writing append file /tmp/recipetoolqaug0kdb4x/recipes-test/recipetool/selftest-recipetool-appendfile.bbappend
    NOTE: Copying /tmp/recipetoolqagci9tita/testfile to /tmp/recipetoolqaug0kdb4x/recipes-test/recipetool/selftest-recipetool-appendfile/testfile
    done.

(From OE-Core rev: 2289138bdaa17b764821f41a3b3fd0a01cda7440)

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-02 08:24:02 +01:00
..
classes classes/lib: Complete transition to python3 2016-06-02 08:24:01 +01:00
conf unzip: fix security issues 2016-06-01 12:38:43 +01:00
files scripts: Replace basestring -> str for python3 2016-06-02 08:24:01 +01:00
lib oeqa/selftest/recipetool.py: Tweak matching of warning line 2016-06-02 08:24:02 +01:00
recipes-bsp u-boot: replace old-style shell syntax with the modern one 2016-05-30 15:58:15 +01:00
recipes-connectivity openssl: fix the dangling libcrypto.a symlink 2016-06-01 12:38:43 +01:00
recipes-core classes/lib: Update xrange -> range for python3 2016-06-02 08:24:00 +01:00
recipes-devtools perl-ptest.inc: fix tar call to prevent objcopy failure 2016-06-01 12:38:43 +01:00
recipes-extended unzip: fix security issues 2016-06-01 12:38:43 +01:00
recipes-gnome python-native, python3-native: remove the use of exported HOST_SYS and BUILD_SYS variables 2016-06-01 12:38:41 +01:00
recipes-graphics classes/lib: Update to use python3 command pipeline decoding 2016-06-02 08:24:00 +01:00
recipes-kernel default-versions.inc: drop python-related defaults 2016-06-01 12:38:41 +01:00
recipes-lsb4 libpng12: Handle no static libs 2016-02-15 16:28:46 +00:00
recipes-multimedia libpng: update to 1.6.22 2016-06-01 12:38:43 +01:00
recipes-rt classes/lib: Update xrange -> range for python3 2016-06-02 08:24:00 +01:00
recipes-sato matchbox-keyboard: Upgrade 2016-05-25 07:50:17 +01:00
recipes-support ca-certificates: Add openssl as a runtime dependency 2016-05-30 15:58:15 +01:00
site meta/site: remove sizeof_off_t 2016-04-12 22:50:21 +01:00
COPYING.GPLv2 Fix license notices for OE-Core 2014-01-02 12:58:54 +00:00
COPYING.MIT
recipes.txt qt4: remove recipes and classes 2016-01-07 13:40:14 +00:00