Remove check test and add gating test

Remove the check test from the spec file, and add a gating test.

Resolves: rhbz#1986912

Signed-off-by: Bryan Gurney <bgurney@redhat.com>
This commit is contained in:
Bryan Gurney 2021-07-29 11:10:49 -04:00
parent 213020d193
commit 6f2e586384
3 changed files with 25 additions and 5 deletions

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}

View File

@ -1,8 +1,7 @@
%{?python_enable_dependency_generator}
%global srcname justbases %global srcname justbases
Name: python-%{srcname} Name: python-%{srcname}
Version: 0.15 Version: 0.15
Release: 4%{?dist} Release: 5%{?dist}
Summary: A small library for precise conversion between arbitrary bases Summary: A small library for precise conversion between arbitrary bases
License: LGPLv2+ License: LGPLv2+
@ -36,9 +35,6 @@ rm -rf justbases.egg-info
%install %install
%py3_install %py3_install
%check
PYTHONPATH=%{buildroot}%{python3_sitelib} %{python3} -m unittest discover --verbose tests/test_deterministic
%files -n python3-%{srcname} %files -n python3-%{srcname}
%license LICENSE %license LICENSE
%doc README.rst %doc README.rst
@ -46,6 +42,10 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{python3} -m unittest discover --verb
%{python3_sitelib}/justbases-%{version}-*.egg-info %{python3_sitelib}/justbases-%{version}-*.egg-info
%changelog %changelog
* Thu Jul 29 2021 Bryan Gurney <bgurney@redhat.com> - 0.15-5
- Remove check test
- Resolves: rhbz#1986912
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.15-4 * Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.15-4
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937

14
tests/tests.yml Normal file
View File

@ -0,0 +1,14 @@
---
- hosts: localhost
roles:
- role: standard-test-source
tags:
- always
- role: standard-test-basic
tags:
- classic
tests:
- simple:
dir: ./
run: python -m unittest discover --verbose tests/test_deterministic