Change the test source location to support evolving downstream testing requirements. This is needed both for downstream certification activities and changes to test development for internal infrastructure differences.
56 lines
1.8 KiB
YAML
56 lines
1.8 KiB
YAML
---
|
|
- hosts: localhost
|
|
tags:
|
|
- classic
|
|
tasks:
|
|
- dnf:
|
|
name: "*"
|
|
state: latest
|
|
|
|
- hosts: localhost
|
|
roles:
|
|
- role: standard-test-basic
|
|
tags:
|
|
- classic
|
|
repositories:
|
|
- repo: "https://gitlab.com/redhat/centos-stream/tests/python.git"
|
|
dest: "python"
|
|
tests:
|
|
- smoke:
|
|
dir: python/smoke
|
|
run: VERSION=3.9 ./venv.sh
|
|
- debugsmoke:
|
|
dir: python/smoke
|
|
run: PYTHON=python3-debug TOX=false VERSION=3.9 ./venv.sh
|
|
- selftest:
|
|
dir: python/selftest
|
|
run: VERSION=3.9 X="-x test_wsgiref" ./parallel.sh
|
|
- debugtest:
|
|
dir: python/selftest
|
|
run: VERSION=3.9 PYTHON=python3-debug X="-x test_wsgiref" ./parallel.sh
|
|
- optimizedflags_self:
|
|
dir: python/flags
|
|
run: python3 ./assertflags.py -O3 PY_BUILTIN_MODULE_CFLAGS PY_CFLAGS_NODIST PY_CORE_CFLAGS PY_STDMODULE_CFLAGS
|
|
- optimizedflags_3rd:
|
|
dir: python/flags
|
|
run: python3 ./assertflags.py -O2 CFLAGS PY_CFLAGS
|
|
- debugflags:
|
|
dir: python/flags
|
|
run: python3-debug ./assertflags.py -O0
|
|
- marshalparser:
|
|
dir: python/marshalparser
|
|
run: VERSION=3.9 SAMPLE=10 test_marshalparser_compatibility.sh
|
|
required_packages:
|
|
- 'https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm'
|
|
- 'https://dl.fedoraproject.org/pub/epel/epel-next-release-latest-9.noarch.rpm'
|
|
- gcc # for extension building in venv and selftest
|
|
- gdb # for test_gdb
|
|
- python3.9 # the test subject
|
|
- python3-debug # for leak testing
|
|
- python3-devel # for extension building in venv and selftest
|
|
- python3-tkinter # for selftest
|
|
- python3-test # for selftest
|
|
- python3-tox # for venv tests
|
|
- glibc-all-langpacks # for locale tests
|
|
- marshalparser # for testing compatibility (magic numbers) with marshalparser
|