[oe-commits] [openembedded-core] 15/18: libxml-sax-perl: inherit ptest-perl
git at git.openembedded.org
git at git.openembedded.org
Tue Mar 6 14:23:36 UTC 2018
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master
in repository openembedded-core.
commit 79e1d94e6c08610971c66637a59149b8b9c0ab72
Author: Tim Orling <timothy.t.orling at linux.intel.com>
AuthorDate: Sun Mar 4 19:25:17 2018 -0800
libxml-sax-perl: inherit ptest-perl
* Enable ptest by inheriting new ptest-perl.bbclass
* Install testfiles/ into PTEST_PATH
Signed-off-by: Tim Orling <timothy.t.orling at linux.intel.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
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 ad31b9c..cdcbebf 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"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list