]> code.ossystems Code Review - openembedded-core.git/commit
selftest/bbtests: Add tests for git floating tag resolution
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 10 Feb 2022 13:44:22 +0000 (13:44 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 16 Feb 2022 09:46:31 +0000 (09:46 +0000)
commitb8905bff4c739840a1a210e66645393727d9d9ae
tree2023a68baf1d2a0a40386e7e73b04bd9288c103e
parent751c90bcc3bd33b7696803d097e7c44284ee0009
selftest/bbtests: Add tests for git floating tag resolution

This test ensures that where a floating tag is used for a git url, there
aren't a number of different bugs such as inconsistent source revisions
for the tag within a given build and that the recipe is reparsed at each
run to ensure the tag is checked.

A test is also added to ensure that the build fails if SRCPV (get_srcrev())
isn't used yet there is a floating tag.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta-selftest/recipes-test/gitunpackoffline/gitunpackoffline-fail.bb [new file with mode: 0644]
meta-selftest/recipes-test/gitunpackoffline/gitunpackoffline.bb [new file with mode: 0644]
meta/lib/oeqa/selftest/cases/bbtests.py