ptests require additional xml files to be present on target for tests to
work correctly.

Signed-off-by: Khem Raj <[email protected]>
Cc: Wang Mingyu <[email protected]>
---
 meta-oe/recipes-support/libtinyxml2/libtinyxml2_10.0.0.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-oe/recipes-support/libtinyxml2/libtinyxml2_10.0.0.bb 
b/meta-oe/recipes-support/libtinyxml2/libtinyxml2_10.0.0.bb
index af5a994d22..cece68c632 100644
--- a/meta-oe/recipes-support/libtinyxml2/libtinyxml2_10.0.0.bb
+++ b/meta-oe/recipes-support/libtinyxml2/libtinyxml2_10.0.0.bb
@@ -19,6 +19,9 @@ CXXFLAGS:append:libc-musl = " -D_LARGEFILE64_SOURCE"
 do_install_ptest() {
     install -Dm 0755 ${B}/xmltest ${D}${PTEST_PATH}/xmltest
     install -d ${D}${PTEST_PATH}/resources/out
+    for f in ${S}/resources/*.xml; do
+        install -m 0644 $f ${D}${PTEST_PATH}/resources/
+    done
 }
 
 BBCLASSEXTEND = "native"
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#108079): 
https://lists.openembedded.org/g/openembedded-devel/message/108079
Mute This Topic: https://lists.openembedded.org/mt/103589302/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to