<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta-selftest, branch 4.3_M3</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=4.3_M3</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=4.3_M3'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2023-09-10T07:58:53+00:00</updated>
<entry>
<title>layer.conf: Update to nanbield release series</title>
<updated>2023-09-10T07:58:53+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2023-09-10T07:58:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=eb7b8476eee1f9916f33a78ef8cb075cd3943a6d'/>
<id>urn:sha1:eb7b8476eee1f9916f33a78ef8cb075cd3943a6d</id>
<content type='text'>
(From OE-Core rev: f212cb12a0db9c9de5afd3cc89b1331d386e55f6)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>recipes/classes/scripts: Drop SRCPV usage in OE-Core</title>
<updated>2023-08-24T15:50:24+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2023-08-11T13:31:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=65318019cd8c6db19ae5d4526a0fa2d8c8ef25fa'/>
<id>urn:sha1:65318019cd8c6db19ae5d4526a0fa2d8c8ef25fa</id>
<content type='text'>
Now that SRCPV isn't needed we can simplify things in a few places...

(From OE-Core rev: 843f82a246a535c353e08072f252d1dc78217872)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>base/package: Move source revision information from PV to PKGV</title>
<updated>2023-08-24T15:50:24+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2023-08-11T12:52:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=62afa02d01794376efab75623f42e7e08af08526'/>
<id>urn:sha1:62afa02d01794376efab75623f42e7e08af08526</id>
<content type='text'>
Source control information being present in PV used to be a hard requirement
for bitbake to operate correctly. Now that hashes are a required part of task
stamps, this requirement no longer exists.

This means we can defer the hash pieces to PKGV and simplify PV.

Use new bitbake fetcher API to inject the source revisions directly into the hash
allowing removal of some horrible code from base.bbclass and avoiding any hardcoding
about how SRCREV may or may not be used.

Use that API to object the string to append to PKGV and append that directly.

The user visible effect of this change is that PV will no longer have revision
information in it and this will now be appended to PV through PKGV when the
packages are written. Since PV is used in STAMP and WORKDIR, users will see
small directory naming and stamp naming changes.

This will mean that sstate reuse through hash equivalence where the source
revision changes but the output does not will become possible as the sstate
naming will become less specific and no longer contain the revision.

The SRCPV variable will no longer be needed in PV and is effectively now just
a null operation. Usage can be removed over time.

(From OE-Core rev: a8e7b0f932b9ea69b3a218fca18041676c65aba0)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>rust: provide examples for C library generation in rust</title>
<updated>2023-08-21T15:15:35+00:00</updated>
<author>
<name>Frederic Martinsons</name>
<email>frederic.martinsons@gmail.com</email>
</author>
<published>2023-08-17T05:04:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=5116f2b2cf3d00fc2c9f41f8ce3661ed7bb4975e'/>
<id>urn:sha1:5116f2b2cf3d00fc2c9f41f8ce3661ed7bb4975e</id>
<content type='text'>
rust-c-lib-example is a little rust code which provide
a single function to print a formatted date (via the chrono crate)
from an input timestamp in millisecond. It has the necessary FFI
annotation and inherit cargo_c class for the C ABI compatible
library generation.

rust-c-lib-example is meson project for the C code which
will call the print_date function from rust-c-lib-example
if no argument is provided, if any argument is provided
it will print "Hello world in rust from C!"

add a runtime test case to check if all went well.

(From OE-Core rev: bb177c7764b1bc47157d57d7a34930e59a7acef3)

Signed-off-by: Frederic Martinsons &lt;frederic.martinsons@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>oeqa/selftest/ssate: Add test for find_siginfo</title>
<updated>2023-08-09T12:23:33+00:00</updated>
<author>
<name>Yang Xu</name>
<email>yang.xu@mediatek.com</email>
</author>
<published>2023-08-05T12:50:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=1bdcd76d2968c3cc6ec2815afceba1cf98efd6d5'/>
<id>urn:sha1:1bdcd76d2968c3cc6ec2815afceba1cf98efd6d5</id>
<content type='text'>
Previously some dependencies couldn't be followed through their siginfo
files. This has been fixed, add a test to ensure this doesn't regress.

(From OE-Core rev: a59cd1502ff14c5d8ccb04385bf4a3ad338d998d)

Signed-off-by: Yang Xu &lt;yang.xu@mediatek.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>selftest: multiconfig-image-packager: try to respect IMAGE_LINK_NAME</title>
<updated>2023-06-29T10:28:32+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>Martin.Jansa@gmail.com</email>
</author>
<published>2023-03-13T12:15:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=92f8d99fe01734ddd81b0ddc145b0b18c7e00185'/>
<id>urn:sha1:92f8d99fe01734ddd81b0ddc145b0b18c7e00185</id>
<content type='text'>
* this still assumes that IMAGE_LINK_NAME will contain IMAGE_BASENAME
  which will be BPN 'multiconfig-image-packager' and that replacing
  it with 'core-image-minimal' will match with the actual IMAGE_LINK_NAME
  from core-image-minimal recipe - there is no good way to query
  core-image-minimal's context, but this is still closer than assuming:
  core-image-minimal-${MCMACHINE}.${MCIMGTYPE}
  which works only with the current default:
  IMAGE_LINK_NAME ?= "${IMAGE_BASENAME}-${MACHINE}"

[YOCTO #12937]

(From OE-Core rev: d4403365af6a5b9aa3b87ef8fd689d3bbcd23318)

Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>selftest/license: Exclude from world</title>
<updated>2023-06-01T07:07:51+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2023-05-31T18:56:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=8d887d226b070ce8a63abb64cc27874d46fe0448'/>
<id>urn:sha1:8d887d226b070ce8a63abb64cc27874d46fe0448</id>
<content type='text'>
These test recipes shouldn't be built as part of world builds. Some recent
changes are exposing issues from this so exclude them.

(From OE-Core rev: 80d3f5586cd060ae69fbc6dec2e8978d87da10ba)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>oeqa: adding selftest-hello and use it to speed up tests</title>
<updated>2023-05-22T09:53:49+00:00</updated>
<author>
<name>Thomas Roos</name>
<email>throos@amazon.de</email>
</author>
<published>2023-05-17T12:13:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=6c8fe83bb5d1aaa11307253e8ab33c2d7f1a4a3f'/>
<id>urn:sha1:6c8fe83bb5d1aaa11307253e8ab33c2d7f1a4a3f</id>
<content type='text'>
Adding a selftest version of hello world to run it in tests where no download is necessary.
Also using this in several tests to speed them up.
Using the -native version wherever possible will also speed up tests a lot.

[YOCTO #11142]

(From OE-Core rev: c3f26b63934888df0e3cd563c1c2804eb78a368e)

Signed-off-by: Thomas Roos &lt;throos@amazon.de&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>zvariant: add ptest feature for zvariant test suite</title>
<updated>2023-05-05T10:07:26+00:00</updated>
<author>
<name>Frederic Martinsons</name>
<email>frederic.martinsons@gmail.com</email>
</author>
<published>2023-04-27T15:12:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=e7e7999b2390f26e0cc6cd4e0fbfd43bcd270862'/>
<id>urn:sha1:e7e7999b2390f26e0cc6cd4e0fbfd43bcd270862</id>
<content type='text'>
Below is the output of run-ptest script under qemu

root@qemux86-64:~# /usr/lib/zvariant/ptest/run-ptest

running 37 tests
test framing_offset_size::tests::framing_offset_size_bump ... ok$&lt;2&gt;
test owned_value::tests::from_value ... ok$&lt;2&gt;
test object_path::unit::owned_from_reader ... ok$&lt;2&gt;
test str::tests::from_string ... ok$&lt;2&gt;
test signature::tests::signature_slicing ... ok$&lt;2&gt;
test str::tests::test_ordering ... ok$&lt;2&gt;
test owned_value::tests::map_conversion ... ok$&lt;2&gt;
test owned_value::tests::serde ... ok$&lt;2&gt;
test tests::enums ... ok$&lt;2&gt;
test tests::derive ... ok$&lt;2&gt;
test tests::f64_value ... ok$&lt;2&gt;
test tests::i16_value ... ok$&lt;2&gt;
test tests::fd_value ... ok$&lt;2&gt;
test tests::i32_value ... ok$&lt;2&gt;
test tests::i8_value ... ok$&lt;2&gt;
test tests::i64_value ... ok$&lt;2&gt;
test tests::ip_addr ... ok$&lt;2&gt;
test tests::issue_59 ... ok$&lt;2&gt;
test tests::issue_99 ... ok$&lt;2&gt;
test tests::array_value ... ok$&lt;2&gt;
test tests::object_path_value ... ok$&lt;2&gt;
test tests::dict_value ... ok$&lt;2&gt;
test tests::signature_value ... ok$&lt;2&gt;
test tests::serialized_size ... ok$&lt;2&gt;
test tests::struct_byte_array ... ok$&lt;2&gt;
test tests::struct_ref ... ok$&lt;2&gt;
test tests::str_value ... ok$&lt;2&gt;
test tests::option_value ... ok$&lt;2&gt;
test tests::struct_value ... ok$&lt;2&gt;
test tests::struct_with_hashmap ... ok$&lt;2&gt;
test tests::u16_value ... ok$&lt;2&gt;
test tests::u32_value ... ok$&lt;2&gt;
test tests::unit ... ok$&lt;2&gt;
test tests::u8_value ... ok$&lt;2&gt;
test tests::unit_fds ... ok$&lt;2&gt;
test tests::value_value ... ok$&lt;2&gt;
test tests::recursion_limits ... ok$&lt;2&gt;

test result: ok$&lt;2&gt;. 37 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s

root@qemux86-64:~#

(From OE-Core rev: 912bbec9fe44f22ab70c3553af6cb699543b8411)

Signed-off-by: Frederic Martinsons &lt;frederic.martinsons@gmail.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>selftest: wic: Add test for --part-name argument</title>
<updated>2023-04-13T10:56:07+00:00</updated>
<author>
<name>Dit Kozmaj</name>
<email>dit.kozmaj@kynetics.com</email>
</author>
<published>2023-04-06T08:44:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a60925d00aefd144c25f5a6d86949d42d802f181'/>
<id>urn:sha1:a60925d00aefd144c25f5a6d86949d42d802f181</id>
<content type='text'>
Add test for wic --part-name argument in .wks file.
Test three different cases:
- Set only the --part-name argument.
- Set only the --label argument. In this case the GPT partition label
  is set to the value of --label for compatibility reasons.
- Set both. In this case the code has been changed to set the GPT
  partition label to the --part-name value.

The test uses a test_gpt_partition_name.wks file created for this
purpose.

(From OE-Core rev: 06af6795cf6f079362303bddb39a14459e228e72)

Signed-off-by: Dit Kozmaj &lt;dit.kozmaj@kynetics.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
