Enable gating for opencsd

Resolves: rhbz#2031794

The test is a dummy stub, however, we first need to add something
that will let opencsd appear in RHEL-9, then we can start using it
in real situations, then we can add actual tests that use the lib.

Signed-off-by: Michael Petlan <mpetlan@redhat.com>
This commit is contained in:
Michael Petlan 2021-12-14 14:23:48 +01:00
parent f3451cc665
commit 1f6a7f0ae9
3 changed files with 20 additions and 1 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

@ -2,7 +2,7 @@
Name: opencsd
Version: 1.0.0
Release: 4%{?dist}
Release: 5%{?dist}
Summary: An open source CoreSight(tm) Trace Decode library
License: BSD
@ -58,6 +58,10 @@ PREFIX=%{buildroot}%{_prefix} LIB_PATH=%{_lib} make install DISABLE_STATIC=1 DEF
#------------------------------------------------------------------------------
%changelog
* Tue Dec 14 2021 Michael Petlan <mpetlan@redhat.com> - 1.0.0-5
- Added gating
Related: rhbz#2031794
* Tue Dec 07 2021 Michael Petlan <mpetlan@redhat.com> - 1.0.0-4
- Bump NVR, needed for erratum RHBA-2021:85351
Related: rhbz#2029382

9
tests/tests.yml Normal file
View File

@ -0,0 +1,9 @@
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
tests:
- simple:
dir: .
run: "echo PASS"