62 lines
1.8 KiB
Plaintext
62 lines
1.8 KiB
Plaintext
execute:
|
|
how: tmt
|
|
|
|
provision:
|
|
hardware:
|
|
memory: '>= 3 GB'
|
|
|
|
environment:
|
|
pybasever: '3.12'
|
|
|
|
discover:
|
|
- name: tests_python
|
|
how: shell
|
|
url: https://gitlab.com/redhat/centos-stream/tests/python.git
|
|
tests:
|
|
- name: smoke
|
|
path: /smoke
|
|
test: "VERSION=${pybasever} TOX=false ./venv.sh"
|
|
- name: debugsmoke
|
|
path: /smoke
|
|
test: "PYTHON=python${pybasever}d TOX=false VERSION=${pybasever} ./venv.sh"
|
|
- name: selftest
|
|
path: /selftest
|
|
test: "VERSION=${pybasever} X='-i test_check_probes' ./parallel.sh"
|
|
- name: debugtest
|
|
path: /selftest
|
|
test: "VERSION=${pybasever} PYTHON=python${pybasever}d X='-i test_check_probes' ./parallel.sh"
|
|
- name: optimizedflags
|
|
path: /flags
|
|
test: "python${pybasever} ./assertflags.py -O3"
|
|
- name: debugflags
|
|
path: /flags
|
|
test: "python${pybasever}d ./assertflags.py -O0"
|
|
- name: marshalparser
|
|
path: /marshalparser
|
|
test: "VERSION=${pybasever} SAMPLE=10 ./test_marshalparser_compatibility.sh"
|
|
|
|
prepare:
|
|
- name: Install dependencies
|
|
how: install
|
|
package:
|
|
- gcc # for extension building in venv and selftest
|
|
- gcc-c++ # for test_cppext
|
|
- gdb # for test_gdb
|
|
- "python${pybasever}" # the test subject
|
|
- "python${pybasever}-debug" # for leak testing
|
|
- "python${pybasever}-devel" # for extension building in venv and selftest
|
|
- "python${pybasever}-tkinter" # for selftest
|
|
- "python${pybasever}-test" # for selftest
|
|
- glibc-all-langpacks # for locale tests
|
|
- marshalparser # for testing compatibility (magic numbers) with marshalparser
|
|
- rpm # for debugging
|
|
- dnf # for upgrade
|
|
- perf # for test_perf_profiler
|
|
- 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
|