python3.9/plan.fmf
Lukáš Zachar a718540a1c Drop STI and use tmt instead
Resolves: rhbz#2383062
2025-08-04 22:44:05 +00:00

41 lines
1.1 KiB
Text

execute:
how: tmt
provision:
hardware:
memory: '>= 3 GB'
discover:
- name: tests_python
how: shell
url: https://src.fedoraproject.org/tests/python.git
tests:
- name: smoke
path: /smoke
test: "VERSION=3.9 ./venv.sh"
- name: selftest
path: /selftest
test: VERSION=3.9 X="-x test_wsgiref" ./parallel.sh
- name: marshalparser
path: /marshalparser
test: "VERSION=3.9 SAMPLE=10 ./test_marshalparser_compatibility.sh"
prepare:
- name: Install dependencies
how: install
package:
- gcc # for extension building in venv and selftest
- gdb # for test_gdb
- python3.9 # the test subject
- python3-tox # for venv tests
- glibc-all-langpacks # for locale tests
- marshalparser # for testing compatibility (magic numbers) with marshalparser
- rpm # for debugging marshalparser
- dnf # for upgrade
- name: Update packages
how: shell
script: dnf upgrade -y
- name: rpm_qa
order: 100
how: shell
script: rpm -qa | sort | tee $TMT_PLAN_DATA/rpmqa.txt