Replace whole repo with latest content from branch rhel-8.8.0

Content corresponds with RHEL dist-git commit c1b5596
This commit is contained in:
Honza Horak 2023-05-15 16:41:31 +02:00
parent f1879a82d0
commit e2472ebd6d
5 changed files with 33 additions and 0 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

20
plan.fmf Normal file
View File

@ -0,0 +1,20 @@
execute:
how: tmt
environment:
PYTHON: python3.11
discover:
- how: shell
dist-git-source: true
tests:
- name: bundled demos
require:
- python3.11-devel
- python3.11-numpy
- gcc-c++
- gcc
test: |
cd $TMT_SOURCE_DIR/cython-*/Demos &&
sed "s/\bpython\b/python3.11/" -i Makefile callback/Makefile \
embed/Makefile &&
make test
- how: fmf

5
tests/helloworld.pyx Normal file
View File

@ -0,0 +1,5 @@
# https://cython.readthedocs.io/en/latest/src/tutorial/cython_tutorial.html
print("Hello World")
def works():
return True

2
tests/main.fmf Normal file
View File

@ -0,0 +1,2 @@
test: ${PYTHON:-python3} tutorial.py

5
tests/tutorial.py Normal file
View File

@ -0,0 +1,5 @@
import pyximport
pyximport.install()
import helloworld
assert helloworld.works()