Files
poky/meta/conf/distro/include/ptest-packagelists.inc
Tim Orling 47b361bf91 python3-hypothesis: enable ptest
The upstream "fast" tests (tests/cover and tests/pytest) take over
5 minutes to run and do not run cleanly. They also add dependency
on python3-pexpect and python3-ptyprocess (currently in meta-python).

The tests are also not included in the pypi tarball, so it would
require use of git fetcher and other invasive changes to the recipe,
including dropping the pypi inherit.

Instead, use two test suites from examples/

References:
https://github.com/HypothesisWorks/hypothesis/tree/master/hypothesis-python/tests
https://github.com/HypothesisWorks/hypothesis/tree/master/hypothesis-python/examples

(From OE-Core rev: 1c7f6f444fdcb859a37d3b51a8d47260834d01db)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-22 22:21:47 +01:00

116 lines
2.9 KiB
PHP

#
# Lists of the ptests in OE-Core, sorted into two sets by the time they take
#
# ptests which take less than ~30s each
#
PTESTS_FAST = "\
acl-ptest \
apr-ptest \
apr-util-ptest \
attr-ptest \
bluez5-ptest \
bzip2-ptest \
diffstat-ptest \
diffutils-ptest \
elfutils-ptest \
ethtool-ptest \
expat-ptest \
flex-ptest \
gawk-ptest \
gdbm-ptest \
gdk-pixbuf-ptest \
gettext-ptest \
glib-networking-ptest \
gzip-ptest \
json-glib-ptest \
libconvert-asn1-perl-ptest \
liberror-perl-ptest \
libnl-ptest \
libmodule-build-perl-ptest \
libpcre-ptest \
libssh2-ptest \
libtimedate-perl-ptest \
libtest-needs-perl-ptest \
liburi-perl-ptest \
libusb1-ptest \
libxml-namespacesupport-perl-ptest \
libxml-perl-ptest \
libxml-parser-perl-ptest \
libxml-sax-perl-ptest \
libxml-sax-base-perl-ptest \
libxml-simple-perl-ptest \
libxml2-ptest \
lzo-ptest \
m4-ptest \
nettle-ptest \
openssl-ptest \
opkg-ptest \
pango-ptest \
parted-ptest \
python3-atomicwrites-ptest \
python3-hypothesis-ptest \
python3-jinja2-ptest \
python3-markupsafe-ptest \
python3-more-itertools-ptest \
python3-pluggy-ptest \
python3-wcwidth-ptest \
qemu-ptest \
quilt-ptest \
sed-ptest \
slang-ptest \
wayland-ptest \
zlib-ptest \
"
PTESTS_FAST:remove:mips64 = "qemu-ptest"
PTESTS_PROBLEMS:append:mips64 = "qemu-ptest"
PTESTS_SLOW = "\
babeltrace-ptest \
babeltrace2-ptest \
busybox-ptest \
coreutils-ptest \
dbus-test-ptest \
e2fsprogs-ptest \
glib-2.0-ptest \
gstreamer1.0-ptest \
libevent-ptest \
lttng-tools-ptest \
openssh-ptest \
openssl-ptest \
perl-ptest \
python3-ptest \
strace-ptest \
tcl-ptest \
util-linux-ptest \
valgrind-ptest \
"
PTESTS_SLOW:remove:riscv64 = "valgrind-ptest"
PTESTS_PROBLEMS:append:riscv64 = "valgrind-ptest"
# ruby-ptest \ # Timeout
# lz4-ptest \ # Needs a rewrite
# rt-tests-ptest \ # Needs to be checked whether it runs at all
# bash-ptest \ # Test outcomes are non-deterministic by design
# ifupdown-ptest \ # Tested separately in lib/oeqa/selftest/cases/imagefeatures.py
# mdadm-ptest \ # Tests rely on non-deterministic sleep() amounts
# libinput-ptest \ # Tests need an unloaded system to be reliable
# libpam-ptest \ # Needs pam DISTRO_FEATURE
# numactl-ptest \ # qemu not (yet) configured for numa; all tests are skipped
# libseccomp-ptest \ # tests failed: 38; add to slow tests once addressed
# python3-numpy-ptest \ # requires even more RAM and (possibly) disk space; multiple failures
PTESTS_PROBLEMS = "\
ruby-ptest \
lz4-ptest \
rt-tests-ptest \
bash-ptest \
ifupdown-ptest \
mdadm-ptest \
libinput-ptest \
libpam-ptest \
libseccomp-ptest \
numactl-ptest \
python3-numpy-ptest \
"