summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/tests
diff options
context:
space:
mode:
authorUrs Fässler <urs.fassler@bbv.ch>2018-10-08 08:15:12 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-10-18 10:59:27 +0100
commita8a077cafb0584dbb4ad4cb8a721b4d50b4180ef (patch)
tree5c11e3ff5a1c035ee1f932ec7e79469d5897785e /bitbake/lib/bb/tests
parent8553b2c11131c2c17af9a7cb3f992c204eac564a (diff)
downloadpoky-a8a077cafb0584dbb4ad4cb8a721b4d50b4180ef.tar.gz
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>
Diffstat (limited to 'bitbake/lib/bb/tests')
-rw-r--r--bitbake/lib/bb/tests/fetch.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/tests/fetch.py b/bitbake/lib/bb/tests/fetch.py
index f52241fbea..17909ec62c 100644
--- a/bitbake/lib/bb/tests/fetch.py
+++ b/bitbake/lib/bb/tests/fetch.py
@@ -1709,6 +1709,8 @@ class GitShallowTest(FetcherTest):
1709 fetcher.unpack(self.d.getVar('WORKDIR')) 1709 fetcher.unpack(self.d.getVar('WORKDIR'))
1710 1710
1711 self.assertTrue("No up to date source found" in context.exception.msg) 1711 self.assertTrue("No up to date source found" in context.exception.msg)
1712 self.assertTrue("clone directory not available or not up to date" in context.exception.msg)
1713 self.assertTrue("shallow clone not enabled or not available" in context.exception.msg)
1712 1714
1713 @skipIfNoNetwork() 1715 @skipIfNoNetwork()
1714 def test_that_unpack_does_work_when_using_git_shallow_tarball_but_tarball_is_not_available(self): 1716 def test_that_unpack_does_work_when_using_git_shallow_tarball_but_tarball_is_not_available(self):