mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00:00
bitbake: fetch2/git: provide information about missing sources
Provide more information in the case the sources are not found in the unpack step. (Bitbake rev: 27a2214bf6f2e7c61bfc422a20959a55f7e0d25d) Signed-off-by: Urs Fässler <urs.fassler@bbv.ch> Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
8553b2c111
commit
a8a077cafb
@@ -1709,6 +1709,8 @@ class GitShallowTest(FetcherTest):
|
||||
fetcher.unpack(self.d.getVar('WORKDIR'))
|
||||
|
||||
self.assertTrue("No up to date source found" in context.exception.msg)
|
||||
self.assertTrue("clone directory not available or not up to date" in context.exception.msg)
|
||||
self.assertTrue("shallow clone not enabled or not available" in context.exception.msg)
|
||||
|
||||
@skipIfNoNetwork()
|
||||
def test_that_unpack_does_work_when_using_git_shallow_tarball_but_tarball_is_not_available(self):
|
||||
|
||||
Reference in New Issue
Block a user