]> code.ossystems Code Review - openembedded-core.git/commit
oe-selftest: devtool: test that updating a file with subdir= works
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 10 Nov 2016 01:45:20 +0000 (14:45 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Nov 2016 11:02:27 +0000 (11:02 +0000)
commit936eba3e1059d1dcd5e58c1ce76870fff7b11b3c
tree5c3ba2c8a2a25fea3fcbf82235d8a272a1b2ca3d
parente9c418d4704c1bed4c5880e176e5288485f4f5a6
oe-selftest: devtool: test that updating a file with subdir= works

If you have a file:// entry in SRC_URI with a subdir= parameter that
makes it extract into the source tree, then when you update that file in
oe-local-files and run devtool update-recipe then you want the original
file to be updated. This was made to work by OE-Core commit
9069fef5dad5a873c8a8f720f7bcbc7625556309 together with
31f1bbad248c36a8c86dde4ff57ce42efc664082, however until now there was no
oe-selftest test to verify it.

Note that in order to succeed this test also requires the fix
"lib/oe/recipeutils: ignore archives by default in
get_recipe_local_files()" since the test recipe uses a local tarball.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta-selftest/recipes-test/devtool/devtool-test-subdir.bb [new file with mode: 0644]
meta-selftest/recipes-test/devtool/devtool-test-subdir/devtool-test-subdir.tar.gz [new file with mode: 0644]
meta-selftest/recipes-test/devtool/devtool-test-subdir/testfile [new file with mode: 0644]
meta/lib/oeqa/selftest/devtool.py