Particularly:
- one of the tests requires a C.utf-8 locale
(only available in glibc)
- another needs .gir files to be installed
Also, consolidate the ptest dependencies in a
single variable assignment.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
RDEPENDS:${PN}-codegen += "${CODEGEN_PYTHON_RDEPENDS}"
-RDEPENDS:${PN}-ptest += "${PN}-utils"
-
RDEPENDS:${PN}-ptest += "\
coreutils \
libgcc \
tzdata-europe \
tzdata-posix \
shared-mime-info \
+ ${PN}-dev \
${PN}-locale-ja \
${PN}-locale-fr \
${PN}-locale-el \
${PN}-locale-pl \
${PN}-locale-ru \
${PN}-locale-th \
+ ${PN}-utils \
python3-core \
python3-modules \
${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'python3-dbusmock', '', d)} \
locale-base-fr-fr \
locale-base-ru-ru \
"
+INSANE_SKIP:${PN}-ptest = "dev-deps"
RDEPENDS:${PN}-ptest:append:libc-glibc = "\
glibc-gconv-utf-16 \
glibc-gconv-iso8859-15 \
glibc-charmap-invariant \
glibc-localedata-translit-cjk-variants \
+ locale-base-c \
locale-base-lt-lt \
locale-base-ja-jp.euc-jp \
locale-base-fa-ir \