Add gating configuration and a simple smoke test

Related: rhbz#1950291
This commit is contained in:
Tomas Orsava 2022-02-22 18:26:49 +01:00
parent 833f49416f
commit 4d8ebe02ee
4 changed files with 23 additions and 1 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

11
plans.fmf Normal file
View File

@ -0,0 +1,11 @@
discover:
- name: Smoke-tests
how: shell
tests:
- name: python-import-test
test: python3 -c 'import pybind11'
require:
- python3-pybind11
duration: 1m
execute:
how: tmt

View File

@ -17,7 +17,7 @@
Name: pybind11
Version: 2.6.2
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Seamless operability between C++11 and Python
License: BSD
URL: https://github.com/pybind/pybind11
@ -181,6 +181,10 @@ PYBIND11_USE_CMAKE=true %py3_install "--install-purelib" "%{python3_sitearch}"
%endif
%changelog
* Tue Feb 22 2022 Tomas Orsava <torsava@redhat.com> - 2.6.2-5
- Add gating configuration and a simple smoke test
- Related: rhbz#1950291
* Tue Feb 08 2022 Tomas Orsava <torsava@redhat.com> - 2.6.2-4
- Add automatically generated Obsoletes tag with the python39- prefix
for smoother upgrade from RHEL8