* Enable ptest by inheriting new ptest-perl.bbclass
* Install testfiles/ into PTEST_PATH

Signed-off-by: Tim Orling <[email protected]>
---
 meta/recipes-extended/perl/libxml-sax-perl_0.99.bb | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-extended/perl/libxml-sax-perl_0.99.bb 
b/meta/recipes-extended/perl/libxml-sax-perl_0.99.bb
index ad31b9c9d2..cdcbebffce 100644
--- a/meta/recipes-extended/perl/libxml-sax-perl_0.99.bb
+++ b/meta/recipes-extended/perl/libxml-sax-perl_0.99.bb
@@ -23,6 +23,11 @@ SRC_URI[sha256sum] = 
"32b04b8e36b6cc4cfc486de2d859d87af5386dd930f2383c49347050d6
 
 S = "${WORKDIR}/XML-SAX-${PV}"
 
-inherit cpan
+inherit cpan ptest-perl
+
+do_install_ptest() {
+       cp -r ${B}/testfiles ${D}${PTEST_PATH}
+       chown -R root:root ${D}${PTEST_PATH}/testfiles
+}
 
 BBCLASSEXTEND = "native"
-- 
2.14.3

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to