meta-openembedded/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
Gyorgy Sarvari 199a6a2266
freerdp3: add ptest support
The execution takes under 10s.

Sample output:

root@qemux86-64:~# ptest-runner
START: ptest-runner
2025-12-23T11:36
BEGIN: /usr/lib/freerdp3/ptest
PASS: TestSynchInit
PASS: TestSynchEvent
PASS: TestSynchMutex
[...many lines...]
PASS: TestClientRdpFile
PASS: TestClientChannels
PASS: TestClientCmdLine
DURATION: 7
END: /usr/lib/freerdp3/ptest
2025-12-23T11:37
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-12-24 13:19:13 -08:00

92 lines
2.0 KiB
C++

#
# Lists of the ptest in meta-oe, sorted into two sets by the time they take
# Please keep these sorted in alphabetical order
#
# A first pass at getting all meta-oe recipes which inherit ptest
# meta_oe_ptest_recipes=$(bitbake-layers show-recipes --recipes-only --layer meta-oe --inherits ptest --bare | tr '\n' ' ' | pcregrep -o1 '^NOTE:.+===(.+)$')
#
# ptests which take less than ~30s each
PTESTS_FAST_META_OE = "\
asio \
audiofile \
botan \
cjson \
cli11 \
cmocka \
cunit \
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'dbus-broker', '', d)} \
duktape \
exiv2 \
freerdp3 \
fuse3 \
function2 \
fwupd \
gcab \
imagemagick \
jemalloc \
jq \
leveldb \
libcereal \
libdbi-perl \
libgpiod \
libjcat \
libio-pty-perl \
libmanette \
libplist \
librelp \
libssh \
libteam \
libtinyxml2 \
libtoml11 \
libxml++-5.0 \
libyang \
lmdb \
mbedtls \
microsoft-gsl \
minicoredumper \
minizip-ng \
neon \
nlohmann-json \
nodejs \
onig \
oprofile \
pegtl \
protobuf \
pv \
sdbus-c++ \
tomlplusplus \
uriparser \
utf8proc \
uthash \
xmlsec1 \
${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'xrdp', '', d)} \
zeromq \
"
PTESTS_FAST_META_OE:append:x86 = " mcelog"
PTESTS_FAST_META_OE:append:x86-64 = " mcelog"
PTESTS_FAST_META_OE:remove:libc-musl = "jemalloc minicoredumper oprofile"
PTESTS_FAST_META_OE:remove:riscv64 = "nodejs oprofile"
PTESTS_FAST_META_OE:remove:riscv32 = "nodejs oprofile"
PTESTS_SLOW_META_OE = "\
c-ares \
fftw \
libusb-compat \
mariadb \
re2 \
rocksdb \
"
PTESTS_SLOW_META_OE:append:x86 = " kernel-selftest"
PTESTS_SLOW_META_OE:append:x86-64 = " kernel-selftest"
PTESTS_SLOW_META_OE:remove:libc-musl = "kernel-selftest"
PTESTS_PROBLEMS_META_OE = "\
keyutils \
ostree \
poco \
psqlodbc \
rsyslog \
"
PTESTS_PROBLEMS_META_OE:append:libc-musl = " jemalloc minicoredumper oprofile"