diff options
author | Urs Fässler <urs.fassler@bbv.ch> | 2018-10-08 08:15:12 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-10-17 12:24:05 +0100 |
commit | 27a2214bf6f2e7c61bfc422a20959a55f7e0d25d (patch) | |
tree | 86da4a8ad3d1646f497cb8e4d979f7127faece60 /lib/bb/tests/fetch.py | |
parent | 78d8fb3a7899e1404a513be1c2b2b4440da8b12d (diff) | |
download | bitbake-27a2214bf6f2e7c61bfc422a20959a55f7e0d25d.tar.gz |
fetch2/git: provide information about missing sources
Provide more information in the case the sources are not found in the
unpack step.
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 'lib/bb/tests/fetch.py')
-rw-r--r-- | lib/bb/tests/fetch.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bb/tests/fetch.py b/lib/bb/tests/fetch.py index f52241fbe..17909ec62 100644 --- a/lib/bb/tests/fetch.py +++ b/lib/bb/tests/fetch.py @@ -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): |