]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
oe-selftest: devtool: test that updating a file with subdir= works paule/devtool23-oe
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 7 Nov 2016 21:29:25 +0000 (10:29 +1300)
committerPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 10 Nov 2016 01:41:58 +0000 (14:41 +1300)
commit367fa9e71b216f28106720672560f6a63b95907c
tree23ade976d643bc6969b363f44a28259b3d71ec43
parent1f4d71e6296c711d38615319be632edcb3fbfcf5
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>
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