]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
oe-selftest: add RECIPE_UPDATE_EXTRA_TASKS test
authorTim Orling <tim.orling@konsulko.com>
Tue, 11 Jun 2024 15:55:15 +0000 (08:55 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 13 Jun 2024 08:10:09 +0000 (09:10 +0100)
commitd14368bc775cbf5142c1312dfc2076e328381aef
treeda2223cf561c40147f27d15145c18844b30dac75
parentf62e74a00de892bf4c10f641f734b57c0017a871
oe-selftest: add RECIPE_UPDATE_EXTRA_TASKS test

Add test_devtool_upgrade_recipe_update_extra_tasks test case
to test upgrade of python3-guessing-game from v0.1.0 to v0.2.0
which will exercise the update_crates task during the upgrade.

Add python3-guessing-game_git.bb.upgraded and
python3-guessing-game-crates.inc.upgraded  which are the 0.2.0
variants.

Check that the new recipe file has the expected differences.

Check that the new -crates.inc file has the expected differences,
which should be reproducible because of Cargo.lock.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta-selftest/recipes-devtools/python/python3-guessing-game-crates.inc.upgraded [new file with mode: 0644]
meta-selftest/recipes-devtools/python/python3-guessing-game_git.bb.upgraded [new file with mode: 0644]
meta/lib/oeqa/selftest/cases/devtool.py