]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
oeqa: Add test for layer append and FILESPATH tracking
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 13 Apr 2015 16:03:42 +0000 (17:03 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 15 Apr 2015 13:19:44 +0000 (14:19 +0100)
commit710b01e01e670c00b60587443d56025a4ba81c33
tree4684b0989c8fd8b5badc7c09fe61762f273fe691
parente9fcc570716e68a64f2a17c0e7aa79e1cd758f39
oeqa: Add test for layer append and FILESPATH tracking

This test actually tests a spectrum of bitbake functionality. Three
layers are created, one containing a recipe, one with a bbappend adding
a file to the recipe and another which overwrites the file in another
bbappend.

The correct outcomes in building the recipe are tested, with the file
in the final layer added, removed and then re-added.

This tests bitbake's cache handling as well as restoration from
sstate which happens in the final test phase.

Based on a test case from:
[YOCTO #7019]

(From OE-Core rev: e57437c0e02b148a878c8db91660674069fbd6e2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/layerappend.py [new file with mode: 0644]