Skip to contentSkip to conversation

glibc: ptest: Fix glibc-tests package issue

PATCH New pgowda 1 participant 1 message Apr 19, 2022

lore
Share & tools
lore

pgowda

author
#0 lore raw

PATCH v3 1/1 glibc: ptest: Fix glibc-tests package issue

Run glibc-tests only when its enabled in the DISTRO_FEATURES.

---
 meta/recipes-core/glibc/glibc-tests_2.35.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-core/glibc/glibc-tests_2.35.bb +2 -1
index 8c7ecf89ba..414f8660de 100644
@@ -1,7 +1,8 @@
 require glibc_${PV}.bb
 require glibc-tests.inc
 
-inherit ptest
+inherit ptest features_check
+REQUIRED_DISTRO_FEATURES = "ptest"
 
 SRC_URI:append = " \
 	file://run-ptest \
Signature · 1 line
2.35.1