meta-openembedded/meta-python/conf/include/ptest-packagelists-meta-python.inc
Gyorgy Sarvari 9291faa919
python3-send2trash: add ptest support
The tests take less than a second to execute.

The current source distribution is missing a test file,
which I added with a patch. The problem is already solved
by upstream just not tagged yet - the patch can be dropped
with the next update.

Sample output:
root@qemux86-64:~# ptest-runner
START: ptest-runner
2026-01-09T17:11
BEGIN: /usr/lib/python3-send2trash/ptest
SKIP: tests/test_plat_win.py:tests/test_plat_win.py # SKIP Skipping windows-only tests
PASS: tests/test_plat_other.py:test_trash
PASS: tests/test_plat_other.py:test_multitrash
PASS: tests/test_plat_other.py:test_trash_bytes
PASS: tests/test_plat_other.py:test_trash_unicode
PASS: tests/test_plat_other.py:test_trash_topdir
PASS: tests/test_plat_other.py:test_trash_topdir_fallback
PASS: tests/test_plat_other.py:test_trash_topdir_failure
PASS: tests/test_plat_other.py:test_trash_symlink
PASS: tests/test_script_main.py:test_trash
PASS: tests/test_script_main.py:test_no_args
============================================================================
Testsuite summary
DURATION: 1
END: /usr/lib/python3-send2trash/ptest
2026-01-09T17:11
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-01-12 08:53:49 -08:00

156 lines
3.7 KiB
C++

#
# Lists of the ptest in meta-python, sorted into two sets by the time they take
# Please keep these sorted in alphabetical order
#
# A first pass at getting all meta-python recipes which inherit ptest
# meta_python_ptest_recipes=$(bitbake-layers show-recipes --recipes-only --layer meta-python --inherits ptest --bare | tr '\n' ' ' | pcregrep -o1 '^NOTE:.+===(.+)$')
#
# ptests which take less than ~30s each
PTESTS_FAST_META_PYTHON = "\
python3-a2wsgi \
python3-appdirs \
python3-ansicolors \
python3-asgiref \
python3-aspectlib \
python3-backports-zstd \
python3-betamax \
python3-bleak \
python3-blinker \
python3-breathe \
python3-cachetools \
python3-cbor2 \
python3-configobj \
python3-pyconnman \
python3-click \
python3-dasbus \
python3-dominate \
python3-dnspython \
python3-evdev \
python3-execnet \
python3-fastjsonschema \
python3-fastnumbers \
python3-flask \
python3-flexcache \
python3-flexparser \
python3-freezegun \
python3-fsspec \
python3-geojson \
python3-google-auth-oauthlib \
python3-gpiod \
python3-gpt-image \
python3-gunicorn \
python3-h2 \
python3-hpack \
python3-html2text \
python3-httptools \
python3-hyperframe \
python3-inflection \
python3-inotify \
python3-intervals \
python3-ipy \
python3-iso3166 \
python3-jdcal \
python3-jsmin \
python3-msgpack \
python3-multidict \
python3-netaddr \
python3-objgraph \
python3-ordered-set \
python3-outcome \
python3-parse \
python3-parse-type \
python3-parsimonious \
python3-platformdirs \
python3-polyline \
python3-portalocker \
python3-portion \
python3-precise-runner \
python3-prettytable \
python3-priority \
python3-propcache \
python3-pyais \
python3-pydantic \
python3-pydantic-core \
python3-pylint \
python3-python-dotenv \
python3-python-multipart \
python3-ptyprocess \
python3-py-cpuinfo \
python3-pyasn1-modules \
python3-pyasyncore \
python3-pyroute2 \
python3-pyserial \
python3-pytest-httpx \
python3-pytest-mock \
python3-pytest-picked \
python3-pytest-sugar \
python3-pytoml \
python3-pyyaml-include \
python3-pydbus \
python3-pyzmq \
python3-rapidjson \
python3-requests-file \
python3-requests-toolbelt \
python3-rich-toolkit \
python3-schedule \
python3-semver \
python3-send2trash \
python3-serpent \
python3-service-identity \
python3-setproctitle \
python3-simpleeval \
python3-smpplib \
python3-soupsieve \
python3-sqlparse \
python3-starlette \
python3-tenacity \
python3-tomli-w \
python3-tomlkit \
python3-trustme \
python3-typeguard \
python3-typing-inspection \
python3-tzdata \
python3-uinput \
python3-ujson \
python3-u-msgpack-python \
python3-unidiff \
python3-uritemplate \
python3-validators \
python3-waitress \
python3-wrapt \
python3-wsproto \
python3-xlrd \
python3-xmltodict \
python3-xxhash \
python3-yarl \
"
PTESTS_SLOW_META_PYTHON = "\
python3-arrow \
python3-ecdsa \
python3-fastapi \
python3-google-auth \
python3-lz4 \
python3-marshmallow \
python3-pillow \
python3-pint \
python3-pykickstart \
python3-pyro5 \
python3-pytest-localserver \
python3-scrypt \
python3-traitlets \
python3-typer \
python3-uvicorn \
python3-yappi \
"
PTESTS_PROBLEMS_META_PYTHON = "\
"
PTESTS_FAST_META_PYTHON:remove:libc-musl = "\
python3-waitress \
"
PTESTS_PROBLEMS_META_PYTHON:append:libc-musl = "\
python3-waitress \
"