]> 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>
Thu, 17 Feb 2022 17:48:10 +0000 (17:48 +0000)
commit33554ba3c034fc31744b27392afe751d645d6c2e
treea339e9f8192bacab3eb77690ea94b9fed7783d14
parent17cd727f333580c6fd7ff20c90ede9ccce9ef60b
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