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:
parent
f1879a82d0
commit
e2472ebd6d
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
20
plan.fmf
Normal file
20
plan.fmf
Normal 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
5
tests/helloworld.pyx
Normal 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
2
tests/main.fmf
Normal file
@ -0,0 +1,2 @@
|
||||
test: ${PYTHON:-python3} tutorial.py
|
||||
|
5
tests/tutorial.py
Normal file
5
tests/tutorial.py
Normal file
@ -0,0 +1,5 @@
|
||||
import pyximport
|
||||
pyximport.install()
|
||||
|
||||
import helloworld
|
||||
assert helloworld.works()
|
Loading…
Reference in New Issue
Block a user