Commit Graph

11 Commits

Author SHA1 Message Date
Tim Orling
57de043dd6
libencode-perl: drop recipe
Encode.pm is packaged in perl itself and users should
instead RDEPENDS on perl-module-encode

This was originally added a long time ago when I did not understand
the way the packages split was done.

See the other Encode::* sub-packages in:
https://git.openembedded.org/openembedded-core/tree/meta/recipes-devtools/perl/files/perl-rdepends.txt#n313

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-26 08:13:21 -08:00
Tim Orling
22f6e7eec3
meta-perl-image-ptest: add PTESTS_PROBLEMS_META_PERL
In oe-core, PTESTS_PROBLEMS are also enabled, so even though
the recipe might have failures or the ptests do not run cleanly,
the BBCLASSEXTEND still works.

Enable the same behavior for meta-perl.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-22 07:38:42 -08:00
Tim Orling
194f6cd864 po4a: remove old recipe
po4a has been failing AUH upgrades for a long time now.
The latest attempt to get ptests working for it can be found at:
https://git.openembedded.org/meta-openembedded-contrib/log/?h=timo/po4a_0.69%2bptest

If you care about this recipe, please continue the effort above and get ptests functional.

According to the layerindex, the po4a recipe is not depended upon by any other known recipes:
https://layers.openembedded.org/layerindex/branch/master/recipes/?q=depends%3Apo4a

(debsums in meta-oe dynamic-layers will be removed in another commit)

Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-18 20:24:12 -07:00
Khem Raj
d8d5444c25 ptest-image: Switch to using core-image-minimal
Keeps the dependencies really to minimum.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-06 08:37:21 -07:00
Khem Raj
7b5cb622b4 images: Rename ptest images to rhyme with oe-core ptest images
Easy to understand for new-comers.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-06 08:37:21 -07:00
Khem Raj
0cb0180594 images: Rename <layer>-image to <layer>-image-all
These are test images to build all recipes in layer. Renaming them makes
them refect what they are. Moreover we can rename the ptest images to
match OE-Core naming conventions for meta-oe/meta-perl/meta-python

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-06 08:37:21 -07:00
Khem Raj
e88b777cbe images: Delete layer specific base images
These were essentially duplicates of core-image-minimal, however
core-image-base is a better baseline for upper layers, so switched the
consumers of these images to use core-image-base

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-06 08:37:21 -07:00
Khem Raj
ef9d73fced images: Inherit from core-image-base
We really do not need to define base images which already exist in core
layer, reuse them here.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-06 08:37:21 -07:00
Tim Orling
90589558e9 meta-perl-ptest*-image: enable BBCLASSEXTEND parallel execution
Similar to "core-image-ptest: Switch to BBCLASSEXTEND parallel execution"

Refactor meta-perl-ptest-image.bb for an image per ptest in the form of
meta-perl-ptest-image-XXX using class extensions.

* Add meta-perl-ptest-all-image.bb depends on ALL meta-perl-ptest-image-XXX in meta-perl
* Add meta-perl-ptest-fast-image.bb depends on meta-perl ptests which take less than ~30s

This allows parallel execution of the tests.

The downside to this approach is the parsing time of an image generating
this number of class extensions is slow but making it easier to execute
and collect test data should outweigh that.

A useful advantage is that the dependencies of each ptest package are
checked/tested individually.

Add to local.conf:
IMAGE_CLASSES += "testimage"

All the meta-perl-ptest-image-XXX can be built with:
$ bitbake meta-perl-ptest-all-image

Subsequently, all the ptest images can be run with:
$ bitbake -c testimage meta-perl-ptest-all-image

You will likely want to limit the number of parallel image tests:

BB_NUMBER_THREADS = "4"

based on the number of TAP devices you have defined or the number of simultaneous
QEMU sessions your server can support.

Results can be summarized with:

$ resulttool report tmp/log/oeqa/testresults.json

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-04 13:39:46 -07:00
Tim Orling
fdc87348a0 recipes-perl/images: move to recipes-core
Be consistent with other layers like oe-core, meta-oe and meta-python

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-04 13:39:46 -07:00
Tim Orling
480985d35e recipes-perl/packagegroups: move to recipes-core/
Be consistent with other layers, like oe-core, meta-oe and meta-python

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-04 13:39:46 -07:00