Add gating configuration and a simple smoke test

This commit is contained in:
Timothy Redaelli 2024-06-25 21:28:23 +02:00
parent 15bb3b68fd
commit 9f67a64daf
3 changed files with 21 additions and 1 deletions

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-10
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 elftools'
require:
- python3-pyelftools
duration: 1m
execute:
how: tmt

View File

@ -4,7 +4,7 @@
Summary: Pure-Python library for parsing and analyzing ELF files Summary: Pure-Python library for parsing and analyzing ELF files
Name: pyelftools Name: pyelftools
Version: 0.30 Version: 0.30
Release: 4%{?dist} Release: 5%{?dist}
License: Public Domain License: Public Domain
URL: https://github.com/eliben/pyelftools URL: https://github.com/eliben/pyelftools
Source0: https://github.com/eliben/pyelftools/archive/v%{version}/%{name}-%{version}.tar.gz Source0: https://github.com/eliben/pyelftools/archive/v%{version}/%{name}-%{version}.tar.gz
@ -61,6 +61,9 @@ popd
%{python3_sitelib}/pyelftools-*.egg-info %{python3_sitelib}/pyelftools-*.egg-info
%changelog %changelog
* Tue Jun 25 2024 Timothy Redaelli <tredaelli@redhat.com> - 0.30-5
- Add gating configuration and a simple smoke test
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.30-4 * Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.30-4
- Bump release for June 2024 mass rebuild - Bump release for June 2024 mass rebuild