Skip to contentSkip to conversation

fix PTESTS_PPROBLEMS_*

PATCH New Tim Orling 1 participant 4 messages Feb 22, 2024

lore
Share & tools
lore

Tim Orling

author
#0 lore raw

cover fix PTESTS_PPROBLEMS_*

When PTESTS_FAST_* and PTESTS_SLOW_* were added, we should also have added PTEST_PROBLEMS_* for meta-*-image-ptest.bb and meta-*-image-ptest-all.bb so that the BBCLASSEXTEND magic works, even for the "problem children".

This series makes meta-oe, meta-perl and meta-python behave the same as oe-core (even the PTESTS_PROBLEMS are available there in core-image-ptest-*).

The following changes since commit 7f173ed0fb3d91200e22762f3f6c8b62955fc39e:

netdata: version bump 1.43.2 -> 1.44.3 (2024-02-21 14:36:06 -0800)

are available in the Git repository at:

https://git.openembedded.org/meta-openembedded-contrib timo/fix-PTESTS_PROBLEMS
https://git.openembedded.org/meta-openembedded-contrib/log/?h=timo/fix-PTESTS_PROBLEMS

Tim Orling (3):
meta-oe-image-ptest: add PTESTS_PROBLEMS_META_OE
meta-perl-image-ptest: add PTESTS_PROBLEMS_META_PERL
meta-python-image-ptest: add PTESTS_PROBLEMS_META_PYTHON

 meta-oe/recipes-core/images/meta-oe-image-ptest-all.bb         | 2 +-
 meta-oe/recipes-core/images/meta-oe-image-ptest.bb             | 2 +-
 meta-perl/recipes-core/images/meta-perl-image-ptest-all.bb     | 2 +-
 meta-perl/recipes-core/images/meta-perl-image-ptest.bb         | 2 +-
 meta-python/recipes-core/images/meta-python-image-ptest-all.bb | 2 +-
 meta-python/recipes-core/images/meta-python-image-ptest.bb     | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)
Signature · 1 line
2.34.1
author
#1 lore raw

PATCH 1/3 meta-oe-image-ptest: add PTESTS_PROBLEMS_META_OE

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-oe.

---
 meta-oe/recipes-core/images/meta-oe-image-ptest-all.bb | 2 +-
 meta-oe/recipes-core/images/meta-oe-image-ptest.bb     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-core/images/meta-oe-image-ptest-all.bb +1 -1
index e8e1750b0e..da942e8bee 100644
@@ -9,7 +9,7 @@ REQUIRED_DISTRO_FEATURES = "ptest"
 require conf/include/ptest-packagelists-meta-oe.inc
 
 # Include the full set of ptests
-PTESTS_META_OE = "${PTESTS_FAST_META_OE} ${PTESTS_SLOW_META_OE}"
+PTESTS_META_OE = "${PTESTS_FAST_META_OE} ${PTESTS_SLOW_META_OE} ${PTESTS_PROBLEMS_META_OE}"
 
 do_testimage[noexec] = "1"
 do_testimage[depends] = "${@' '.join(['meta-oe-image-ptest-'+x+':do_testimage' for x in d.getVar('PTESTS_META_OE').split()])}"
meta-oe/recipes-core/images/meta-oe-image-ptest.bb +1 -1
index 4cd1f4497c..b32df0e221 100644
@@ -9,7 +9,7 @@ SUMMARY = "meta-oe ptest test image"
 DESCRIPTION += "Also including the ${MCNAME} ptest package."
 HOMEPAGE = "https://www.openembedded.org/"
 
-PTESTS_META_OE = "${PTESTS_SLOW_META_OE} ${PTESTS_FAST_META_OE}"
+PTESTS_META_OE = "${PTESTS_SLOW_META_OE} ${PTESTS_FAST_META_OE} ${PTESTS_PROBLEMS_META_OE}"
 
 IMAGE_INSTALL:append = " ${MCNAME}-ptest openssh"
 
Signature · 1 line
2.34.1
author
#3 lore raw

PATCH 3/3 meta-python-image-ptest: add PTESTS_PROBLEMS_META_PYTHON

In reply to Tim Orling

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-python.

---
 meta-python/recipes-core/images/meta-python-image-ptest-all.bb | 2 +-
 meta-python/recipes-core/images/meta-python-image-ptest.bb     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta-python/recipes-core/images/meta-python-image-ptest-all.bb +1 -1
index 56c392f036..d6708c5fd0 100644
@@ -9,7 +9,7 @@ REQUIRED_DISTRO_FEATURES = "ptest"
 require conf/include/ptest-packagelists-meta-python.inc
 
 # Include the full set of ptests
-PTESTS_META_PYTHON = "${PTESTS_FAST_META_PYTHON} ${PTESTS_SLOW_META_PYTHON}"
+PTESTS_META_PYTHON = "${PTESTS_FAST_META_PYTHON} ${PTESTS_SLOW_META_PYTHON} ${PTESTS_PROBLEMS_META_PYTHON}"
 
 do_testimage[noexec] = "1"
 do_testimage[depends] = "${@' '.join(['meta-python-image-ptest-'+x+':do_testimage' for x in d.getVar('PTESTS_META_PYTHON').split()])}"
meta-python/recipes-core/images/meta-python-image-ptest.bb +1 -1
index fed676c42e..9c542855a2 100644
@@ -9,7 +9,7 @@ SUMMARY = "meta-python ptest test image"
 DESCRIPTION += "Also including the ${MCNAME} ptest package."
 HOMEPAGE = "https://www.openembedded.org/"
 
-PTESTS_META_PYTHON = "${PTESTS_SLOW_META_PYTHON} ${PTESTS_FAST_META_PYTHON}"
+PTESTS_META_PYTHON = "${PTESTS_SLOW_META_PYTHON} ${PTESTS_FAST_META_PYTHON} ${PTESTS_PROBLEMS_META_PYTHON}"
 
 IMAGE_INSTALL:append = " ${MCNAME}-ptest openssh"
 
Signature · 1 line
2.34.1
author
#2 lore raw

PATCH 2/3 meta-perl-image-ptest: add PTESTS_PROBLEMS_META_PERL

In reply to Tim Orling

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.

---
 meta-perl/recipes-core/images/meta-perl-image-ptest-all.bb | 2 +-
 meta-perl/recipes-core/images/meta-perl-image-ptest.bb     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta-perl/recipes-core/images/meta-perl-image-ptest-all.bb +1 -1
index e2cafa98a5..9efe5087f0 100644
@@ -9,7 +9,7 @@ REQUIRED_DISTRO_FEATURES = "ptest"
 require conf/include/ptest-packagelists-meta-perl.inc
 
 # Include the full set of ptests
-PTESTS_META_PERL = "${PTESTS_FAST_META_PERL} ${PTESTS_SLOW_META_PERL}"
+PTESTS_META_PERL = "${PTESTS_FAST_META_PERL} ${PTESTS_SLOW_META_PERL} ${PTESTS_PROBLEMS_META_PERL}"
 
 do_testimage[noexec] = "1"
 do_testimage[depends] = "${@' '.join(['meta-perl-image-ptest-'+x+':do_testimage' for x in d.getVar('PTESTS_META_PERL').split()])}"
meta-perl/recipes-core/images/meta-perl-image-ptest.bb +1 -1
index 7905977828..94d77b97f0 100644
@@ -9,7 +9,7 @@ require conf/include/ptest-packagelists-meta-perl.inc
 DESCRIPTION += "Also including the ${MCNAME} ptest package."
 HOMEPAGE = "https://www.openembedded.org/"
 
-PTESTS_META_PERL = "${PTESTS_SLOW_META_PERL} ${PTESTS_FAST_META_PERL}"
+PTESTS_META_PERL = "${PTESTS_SLOW_META_PERL} ${PTESTS_FAST_META_PERL} ${PTESTS_PROBLEMS_META_PERL}"
 
 IMAGE_INSTALL:append = " ${MCNAME}-ptest openssh"
 
Signature · 1 line
2.34.1