parent
52512a41bc
commit
ed88f06bb9
|
@ -0,0 +1 @@
|
|||
1
|
|
@ -0,0 +1,7 @@
|
|||
--- !Policy
|
||||
|
||||
product_versions:
|
||||
- rhel-9
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
|
@ -0,0 +1,17 @@
|
|||
execute:
|
||||
how: tmt
|
||||
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/python /python3.11 /' -i Makefile &&
|
||||
make test
|
||||
- how: fmf
|
|
@ -0,0 +1,5 @@
|
|||
# https://cython.readthedocs.io/en/latest/src/tutorial/cython_tutorial.html
|
||||
print("Hello World")
|
||||
|
||||
def works():
|
||||
return True
|
|
@ -0,0 +1,2 @@
|
|||
test: ${PYTHON:-python3} tutorial.py
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
import pyximport
|
||||
pyximport.install()
|
||||
|
||||
import helloworld
|
||||
assert helloworld.works()
|
Loading…
Reference in New Issue