<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/bitbake/lib/bb/tests, branch sumo</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=sumo</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=sumo'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2019-11-07T07:40:31+00:00</updated>
<entry>
<title>bitbake: tests/fetch: Resolve fetch error in bitbake-selftest</title>
<updated>2019-11-07T07:40:31+00:00</updated>
<author>
<name>Armin Kuster</name>
<email>akuster808@gmail.com</email>
</author>
<published>2019-09-01T21:28:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=e58082e22d265246b145d2d7ffb1e3adcb2cc177'/>
<id>urn:sha1:e58082e22d265246b145d2d7ffb1e3adcb2cc177</id>
<content type='text'>
FAIL: test_wget_latest_versionstring (bb.tests.fetch.FetchLatestVersionTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest/build/bitbake/lib/bb/tests/fetch.py", line 1229, in test_wget_latest_versionstring
      self.assertTrue(verstring, msg="Could not find upstream version for %s" % k[0])
      AssertionError: '' is not true : Could not find upstream version for db

[YOCTO #13496]

The Oracle UPSTREAM_CHECK_URI used changed and does not work with logic in wget.

Update UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX to match the ones used in the
recipe. Also change the version being checked.

(Bitbake rev: 50d2166054338b7a63c4dc7116cd212a9ecfbfaf)

Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: tests/fetch: Update gnome.org urls after upstream changes</title>
<updated>2018-08-29T09:44:16+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2018-08-28T16:26:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=edabecd5764078b539daf35848ff4b107cd65c44'/>
<id>urn:sha1:edabecd5764078b539daf35848ff4b107cd65c44</id>
<content type='text'>
(Bitbake rev: 822dd77333896538393c657dd220d8f66d8a46a7)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: tests/fetch: state which upstream failed</title>
<updated>2018-03-28T11:51:52+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2018-03-27T10:01:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=d04792b2ed74e1af115c1d5f4e4ea30beb610a12'/>
<id>urn:sha1:d04792b2ed74e1af115c1d5f4e4ea30beb610a12</id>
<content type='text'>
(Bitbake rev: 21098de09ee2f7a9f0b3f895bf2ffbdeb8c9ded5)

Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch2: Handle missing donestamp file when content is valid</title>
<updated>2018-02-14T15:26:03+00:00</updated>
<author>
<name>Nathan Rossi</name>
<email>nathan@nathanrossi.com</email>
</author>
<published>2018-02-02T13:51:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=f2d5967982359b924406e3937a8e32807a5bb533'/>
<id>urn:sha1:f2d5967982359b924406e3937a8e32807a5bb533</id>
<content type='text'>
In order to allow users to manually populate the download directory with
valid content change the assumption that missing the donestamp file
means unfetched content.

This allows users to populate the download dir without needing to create
dummy .done files such that a user does not need a PREMIRROR when using
BB_NO_NETWORK to provide valid content files in the download directory.

To ensure the correct result this change also fails first if the
localpath does not exist. This prevents further parts of the function
attempting to calculating the checksum on non-existent files. This also
fixes some edge conditions around where if the donestamp exists but the
localpath does not it returns, and did not remove the donestamp.

Also added test cases to cover this use case and additional use cases
where for example the fetcher does not support checksums.

(Bitbake rev: a335dbbb65d5b56e71d98cf3e4fa9bfbec1dcde6)

Signed-off-by: Nathan Rossi &lt;nathan@nathanrossi.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch/git: Use 'git-make-shallow' from bin directory</title>
<updated>2018-02-14T15:26:03+00:00</updated>
<author>
<name>Nathan Rossi</name>
<email>nathan@nathanrossi.com</email>
</author>
<published>2018-02-02T14:04:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=9c44aee83d5a3e74e33e492fb0892c419756fb00'/>
<id>urn:sha1:9c44aee83d5a3e74e33e492fb0892c419756fb00</id>
<content type='text'>
Move the code that existed in tests/fetch.py for determining the path to
'git-make-shallow' into the git module and reference it.

This ensures that 'git-make-shallow' is always available and the desired
version regardless of the path variable or whether git exposes the
command.

(Bitbake rev: 6b508ab8fd5aa796c1c00c970e81e5e93f84d35d)

Signed-off-by: Nathan Rossi &lt;nathan@nathanrossi.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: tests/fetch: Allow bit/bitbake-selftest to function correctly</title>
<updated>2018-01-07T12:14:34+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2018-01-07T11:48:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=1103a03742b89af8b43feeb8ae3580feeb4f8d83'/>
<id>urn:sha1:1103a03742b89af8b43feeb8ae3580feeb4f8d83</id>
<content type='text'>
Without this the paths to git-make-shallow are incorrect and cause test
failures if bitbake isn't executed from cwd or PATH.

(Bitbake rev: 643eacb162b8710330ef292bfda21cfeab97f95c)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: tests/event: tests: Add event classes test class</title>
<updated>2018-01-07T12:14:34+00:00</updated>
<author>
<name>Jair Gonzalez</name>
<email>jair.de.jesus.gonzalez.plascencia@linux.intel.com</email>
</author>
<published>2017-08-16T20:59:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=e95ce3fe3b31e63aedf891bfd9a3397bb5f91ba8'/>
<id>urn:sha1:e95ce3fe3b31e63aedf891bfd9a3397bb5f91ba8</id>
<content type='text'>
This change adds EventClassesTest class to bb/tests/event.py,
including 47 new test cases for the public interfaces of the
bitbake event and related helper classes.

[YOCTO #10773]

(Bitbake rev: ee5fe4431713b8a29bdb424a29460965374b3234)

Signed-off-by: Jair Gonzalez &lt;jair.de.jesus.gonzalez.plascencia@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: tests/event: Remove empty assignments from event tests</title>
<updated>2018-01-07T12:14:34+00:00</updated>
<author>
<name>Jair Gonzalez</name>
<email>jair.de.jesus.gonzalez.plascencia@linux.intel.com</email>
</author>
<published>2017-08-15T22:37:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=35226b3307dcc0687c36fea481a6add4944906d4'/>
<id>urn:sha1:35226b3307dcc0687c36fea481a6add4944906d4</id>
<content type='text'>
Remove assignments from non-returning calls.

(Bitbake rev: a8cac827dd15227a3940ea25c673d91b5e2c2a75)

Signed-off-by: Jair Gonzalez &lt;jair.de.jesus.gonzalez.plascencia@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: tests/event: Add test for bb.event.worker_fire</title>
<updated>2018-01-07T12:14:34+00:00</updated>
<author>
<name>Jair Gonzalez</name>
<email>jair.de.jesus.gonzalez.plascencia@linux.intel.com</email>
</author>
<published>2017-08-15T00:19:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=fda60b31ec4f8b14d72390ae1ca1e982ba4e31dc'/>
<id>urn:sha1:fda60b31ec4f8b14d72390ae1ca1e982ba4e31dc</id>
<content type='text'>
Test the triggering of bb.event.worker_fire callback.

(Bitbake rev: daa59a2057c811b20d75235526ac6c2079ac6e10)

Signed-off-by: Jair Gonzalez &lt;jair.de.jesus.gonzalez.plascencia@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: tests/event: Include tests for event filtering features</title>
<updated>2018-01-07T12:14:34+00:00</updated>
<author>
<name>Jair Gonzalez</name>
<email>jair.de.jesus.gonzalez.plascencia@linux.intel.com</email>
</author>
<published>2017-08-14T21:04:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=61f409baff6b42135331ffea88a3a4bbc3ea8e00'/>
<id>urn:sha1:61f409baff6b42135331ffea88a3a4bbc3ea8e00</id>
<content type='text'>
This change includes unit tests for the following functions,
helper class and methods in bitbake.event:

- set_eventfilter(func)
- set_UIHmask(handlerNum, level, debug_domains, mask)
- getName(e)
- class UIEventFilter(object)
    def __init__(self, level, debug_domains)
    def update(self, eventmask, level, debug_domains)
    def filter(self, event)

[YOCTO #10773]

(Bitbake rev: 4a19dde704fd0bf262ea991ef530f991a4897d31)

Signed-off-by: Jair Gonzalez &lt;jair.de.jesus.gonzalez.plascencia@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
