mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
Add ptest infrastructure to run the PostgreSQL standard regression test suite (pg_regress) on the target system. Test logs: root@qemux86-64:~# ptest-runner postgresql START: ptest-runner 2026-03-24T02:42 BEGIN: /usr/lib64/postgresql/ptest ..... **if all pass ** PASS: - event_trigger_login 1901 ms PASS: - fast_default 9459 ms PASS: - tablespace 16542 ms PASS: all tests passed **if have fail** FAIL: create_type 1763 ms PASS: create_schema 2123 ms PASS: - tablespace 23226 ms FAIL: some tests failed waiting for server to shut down.... done server stopped DURATION: 853 END: /usr/lib64/postgresql/ptest 2026-03-24T02:56 STOP: ptest-runner TOTAL: 1 FAIL: 0 Signed-off-by: Guocai He <guocai.he.cn@windriver.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
96 lines
2.1 KiB
PHP
96 lines
2.1 KiB
PHP
#
|
|
# 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 \
|
|
conserver \
|
|
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"
|
|
# botan needs go
|
|
PTESTS_FAST_META_OE:remove:riscv32 = "botan nodejs oprofile"
|
|
|
|
PTESTS_SLOW_META_OE = "\
|
|
c-ares \
|
|
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'freerdp', '', d)} \
|
|
fftw \
|
|
libusb-compat \
|
|
mariadb \
|
|
postgresql \
|
|
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"
|