generic-poky/meta/lib/oeqa/selftest
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
..
__init__.py scripts/oe-selftest: script to run builds as unittest against bitbake or various scripts 2013-12-03 17:45:50 +00:00
_sstatetests_noauto.py oe-selftest: force some values in local.conf for _sstatetests_noauto.py 2014-03-07 14:58:45 +00:00
_toaster.py classes/lib: Complete transition to python3 2016-06-02 08:24:01 +01:00
archiver.py oeqa/selftest/archiver: Test that archiver filters on recipe name 2015-09-24 17:54:28 +01:00
base.py meta/selftest/scripts: Use print function for python3 compatibility 2016-05-21 22:26:32 +01:00
bblayers.py selftest/bblayers.py: Remove harcoded recipe files 2016-03-11 16:50:44 +00:00
bbtests.py oeqa/selftest/bbtests: Test bbappend order 2016-03-30 12:01:29 +01:00
buildhistory.py oeqa: Update to handle domain specific references in build logs 2016-02-15 16:28:46 +00:00
buildoptions.py oeqa/selftest/buildoptions: remove buildhistory signature test 2016-05-06 10:31:15 +01:00
devtool.py devtool.py: Fix parsing of bitbake-layers' output 2016-06-02 08:24:02 +01:00
esdk_prepare.py oeqa: Print function python3 fixes 2016-05-16 08:13:11 +01:00
imagefeatures.py selftest: add bmap test 2016-05-14 23:05:14 +01:00
layerappend.py oeqa/selftest/layerappend: fix test if build directory is not inside COREBASE 2015-11-16 11:39:39 +00:00
lic-checksum.py oeqa/lic-checksum: Update after recent LIC_FILES_CHKSUM changes 2016-05-11 10:33:43 +01:00
manifest.py oeqa/selftest: Added testcase decorators. 2015-10-27 07:24:28 +00:00
oescripts.py oeqs/selftest: Added test case decorators for the rest of selftest testcases except toaster 2014-07-10 17:38:35 +01:00
pkgdata.py classes/lib: Update to explictly create lists where needed 2016-06-02 08:24:00 +01:00
prservice.py selftest/prservice.py: Sanitize package version when looking for stamp 2016-03-11 16:50:44 +00:00
recipetool.py oeqa/selftest/recipetool.py: Tweak matching of warning line 2016-06-02 08:24:02 +01:00
signing.py sstatesig.py: Split single locked sigs check into multiple checks 2016-04-09 23:00:43 +01:00
sstate.py oe-selftest: separated the SStateBase and SStateTests in different modules 2014-01-16 12:18:52 +00:00
sstatetests.py classes/lib: Complete transition to python3 2016-06-02 08:24:01 +01:00
wic.py oe-selftest: wic: add test_bmap test case 2016-05-19 09:05:19 +01:00