]> code.ossystems Code Review - openembedded-core.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:18:53 +0000 (14:18 +0100)
commite57437c0e02b148a878c8db91660674069fbd6e2
treea7a0e014d7c02b528772575cfcff195e711e01ee
parentf68576d4c9cecbe7122325d7fc78c9b27ff07a8e
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]

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