summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorPgowda <pgowda.cve@gmail.com>2022-04-18 23:15:56 -0700
committerSteve Sakoman <steve@sakoman.com>2022-04-29 05:27:53 -1000
commit2447c5abd7629af24bab5fccec8669f9ca676873 (patch)
tree880c202d7a47dc84c7bc816d613b18ec4b11c916 /meta/recipes-core
parentd8222529a1caa2703ed296d8a8274983e738cefc (diff)
downloadopenembedded-core-2447c5abd7629af24bab5fccec8669f9ca676873.tar.gz
glibc: ptest: Fix glibc-tests package issue
Run glibc-tests only when its enabled in the DISTRO_FEATURES. Signed-off-by: pgowda <pgowda.cve@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 5555e7cf935b047a3dc3228d26bf0fd52eb425e5) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/glibc/glibc-tests_2.35.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-core/glibc/glibc-tests_2.35.bb b/meta/recipes-core/glibc/glibc-tests_2.35.bb
index 8c7ecf89ba..414f8660de 100644
--- a/meta/recipes-core/glibc/glibc-tests_2.35.bb
+++ b/meta/recipes-core/glibc/glibc-tests_2.35.bb
@@ -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 \