diff options
| author | Khem Raj <raj.khem@gmail.com> | 2024-01-07 17:09:10 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-01-08 19:54:39 -0800 |
| commit | f38b0faa6b9dbbc288f7e41f7d033d0c29ac98bd (patch) | |
| tree | bfefb79c7e2332e5c9b06c2621b677754995a0f9 | |
| parent | 430df76f8d50dd5427e6857dc15b630c439c586a (diff) | |
| download | meta-openembedded-f38b0faa6b9dbbc288f7e41f7d033d0c29ac98bd.tar.gz | |
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>
| -rw-r--r-- | meta-oe/recipes-support/libtinyxml2/libtinyxml2_10.0.0.bb | 3 |
1 files changed, 3 insertions, 0 deletions
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" | |||
| 19 | do_install_ptest() { | 19 | do_install_ptest() { |
| 20 | install -Dm 0755 ${B}/xmltest ${D}${PTEST_PATH}/xmltest | 20 | install -Dm 0755 ${B}/xmltest ${D}${PTEST_PATH}/xmltest |
| 21 | install -d ${D}${PTEST_PATH}/resources/out | 21 | install -d ${D}${PTEST_PATH}/resources/out |
| 22 | for f in ${S}/resources/*.xml; do | ||
| 23 | install -m 0644 $f ${D}${PTEST_PATH}/resources/ | ||
| 24 | done | ||
| 22 | } | 25 | } |
| 23 | 26 | ||
| 24 | BBCLASSEXTEND = "native" | 27 | BBCLASSEXTEND = "native" |
