libvirt-dbus-1.4.1-3.el9

- FIX: RHEL: Add gating tests for RHEL-9 (rhbz#1950602)

Resolves: rhbz#1950602
This commit is contained in:
Pavel Hrdina 2021-07-01 14:22:36 +02:00
parent ce7c56adcc
commit 89c32e563b
2 changed files with 4 additions and 54 deletions

View File

@ -1,52 +0,0 @@
From a8779f389081942b5090b12932c1078694e5b585 Mon Sep 17 00:00:00 2001
Message-Id: <a8779f389081942b5090b12932c1078694e5b585@dist-git>
From: Pavel Hrdina <phrdina@redhat.com>
Date: Wed, 30 Jun 2021 16:05:45 +0200
Subject: [PATCH] RHEL: Add gating tests for RHEL-9
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1950602
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
---
.distro/gating.yaml | 6 ++++++
.distro/tests/tests.yml | 15 +++++++++++++++
2 files changed, 21 insertions(+)
create mode 100644 .distro/gating.yaml
create mode 100644 .distro/tests/tests.yml
diff --git a/.distro/gating.yaml b/.distro/gating.yaml
new file mode 100644
index 0000000..648918d
--- /dev/null
+++ b/.distro/gating.yaml
@@ -0,0 +1,6 @@
+--- !Policy
+product_versions:
+ - rhel-9
+decision_context: osci_compose_gate
+rules:
+ - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
diff --git a/.distro/tests/tests.yml b/.distro/tests/tests.yml
new file mode 100644
index 0000000..8b4d3a1
--- /dev/null
+++ b/.distro/tests/tests.yml
@@ -0,0 +1,15 @@
+- hosts: localhost
+ roles:
+ - role: standard-test-source
+ tags:
+ - classic
+ - role: standard-test-basic
+ tags:
+ - classic
+ tests:
+ - smoke:
+ dir: source/tests
+ run: TEST_INSTALLED=1 pytest-3
+ required_packages:
+ - python3-pytest
+ - dbus-daemon
--
2.31.1

View File

@ -8,12 +8,11 @@
Name: libvirt-dbus
Version: 1.4.1
Release: 2%{?dist}%{?extra_release}
Release: 3%{?dist}%{?extra_release}
Summary: libvirt D-Bus API binding
License: LGPLv2+
URL: https://libvirt.org/
Source0: https://libvirt.org/sources/dbus/%{name}-%{version}.tar.xz
Patch1: libvirt-dbus-RHEL-Add-gating-tests-for-RHEL-9.patch
BuildRequires: git
@ -76,6 +75,9 @@ exit 0
%{_mandir}/man8/libvirt-dbus.8*
%changelog
* Thu Jul 01 2021 Pavel Hrdina <phrdina@redhat.com> - 1.4.1-3
- FIX: RHEL: Add gating tests for RHEL-9 (rhbz#1950602)
* Wed Jun 30 2021 Pavel Hrdina <phrdina@redhat.com> - 1.4.1-2
- RHEL: Add gating tests for RHEL-9 (rhbz#1950602)