libtinyxml2: Package needed resources to run ptests

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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Wang Mingyu <wangmy@fujitsu.com>
This commit is contained in:
Khem Raj 2024-01-07 17:09:10 -08:00
parent 430df76f8d
commit f38b0faa6b
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -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"