Add OSCI testing harness
Resolves: rhbz#1874207 Signed-off-by: Vladis Dronov <vdronov@redhat.com>
This commit is contained in:
parent
022c1677cb
commit
d42e047248
6
gating.yaml
Normal file
6
gating.yaml
Normal 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}
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
Name: qatzip
|
Name: qatzip
|
||||||
Version: 1.0.6
|
Version: 1.0.6
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Intel QuickAssist Technology (QAT) QATzip Library
|
Summary: Intel QuickAssist Technology (QAT) QATzip Library
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: https://github.com/intel/%{githubname}
|
URL: https://github.com/intel/%{githubname}
|
||||||
@ -82,6 +82,9 @@ rm -vf %{buildroot}%{_mandir}/*.pdf
|
|||||||
%{_libdir}/libqatzip.so
|
%{_libdir}/libqatzip.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 20 2021 Vladis Dronov <vdronov@redhat.com> - 1.0.6-4
|
||||||
|
- Add OSCI testing harness (bz 1874207)
|
||||||
|
|
||||||
* Mon Sep 13 2021 zm627 <zheng.ma@intel.com> - 1.0.6-3
|
* Mon Sep 13 2021 zm627 <zheng.ma@intel.com> - 1.0.6-3
|
||||||
- Rebuild for qatzip v1.0.6
|
- Rebuild for qatzip v1.0.6
|
||||||
|
|
||||||
|
21
tests/README
Normal file
21
tests/README
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
these tests should be configured as BaseOS CI tests (not as OSCI tests), as
|
||||||
|
they require an x86_64 machine with QAT_4XXX (or later) hardware, so should
|
||||||
|
be run in Beaker.
|
||||||
|
see: https://docs.engineering.redhat.com/display/RTT/Onboarding+gating+tests
|
||||||
|
and: https://docs.engineering.redhat.com/pages/viewpage.action?pageId=53110084
|
||||||
|
and: https://docs.engineering.redhat.com/display/RTT/Creating+and+Updating+beaker+test
|
||||||
|
|
||||||
|
see https://bugzilla.redhat.com/show_bug.cgi?id=1747500#c50 for the details:
|
||||||
|
|
||||||
|
> Test QATzip [ https://github.com/intel/QATzip/blob/master/README.md#test-qatzip ]
|
||||||
|
> Performance Test With QATzip [ https://github.com/intel/QATzip/blob/master/README.md#performance-test-with-qatzip ]
|
||||||
|
>
|
||||||
|
> The first one - “Test QATzip” provides the basic usage of qzip binary, the compression binary.
|
||||||
|
> You can perform basic test such as compression and decompression with this binary to check
|
||||||
|
> the installation of QATzip binary.
|
||||||
|
>
|
||||||
|
> The second one, whose binary is in the test directory of source code, mentioned in
|
||||||
|
> the performance test section, can be used for the verification of installation of QATzip lib.
|
||||||
|
> However, this test binary is not packaged in the rpm package, from an aspect that the user
|
||||||
|
> do not need to verify the installation... Since QATlib provides a different way of configuring
|
||||||
|
> QAT hardware from the original out of tree driver, some of the performance test cases are deprecated.
|
6
tests/nulltest.sh
Executable file
6
tests/nulltest.sh
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# we cannot test this since there is no machine with QAT_4XXX hardware in Beaker as of now
|
||||||
|
# Intel promised us to provide OtherQA for qatlib, qatengine, qatzip and QAT kernel patchsets
|
||||||
|
echo QATZip nulltest is PASS
|
||||||
|
exit 0
|
10
tests/tests.yml
Normal file
10
tests/tests.yml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
- hosts: localhost
|
||||||
|
roles:
|
||||||
|
- role: standard-test-basic
|
||||||
|
tags:
|
||||||
|
- classic
|
||||||
|
tests:
|
||||||
|
- nulltest:
|
||||||
|
dir: .
|
||||||
|
run: nulltest.sh
|
Loading…
Reference in New Issue
Block a user