Add self-tests and an OSCI harness
Resolves: RHEL-20179 Signed-off-by: Vladis Dronov <vdronov@redhat.com>
This commit is contained in:
parent
b29614e318
commit
e925e56c4a
66
qatzip.spec
66
qatzip.spec
@ -5,7 +5,7 @@
|
||||
|
||||
Name: qatzip
|
||||
Version: 1.2.0
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Intel QuickAssist Technology (QAT) QATzip Library
|
||||
License: BSD-3-Clause
|
||||
URL: https://github.com/intel/%{githubname}
|
||||
@ -87,6 +87,9 @@ rm -vf %{buildroot}%{_mandir}/*.pdf
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
|
||||
%changelog
|
||||
* Wed Jun 26 2024 Vladis Dronov <vdronov@redhat.com> - 1.2.0-3
|
||||
- Add self-tests and an OSCI harness (RHEL-20179)
|
||||
|
||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.2.0-2
|
||||
- Bump release for June 2024 mass rebuild
|
||||
|
||||
@ -96,62 +99,5 @@ rm -vf %{buildroot}%{_mandir}/*.pdf
|
||||
- SW fallback
|
||||
- Fix some bugs
|
||||
|
||||
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Sep 08 2023 Ali Erdinc Koroglu <aekoroglu@fedoraproject.org> - 1.1.2-3
|
||||
- Rebuilt for qatlib 23.08
|
||||
|
||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Mon Mar 06 2023 xinghong <xinghong.chen@intel.com> - 1.1.2-1
|
||||
- Update to qatzip v1.1.2
|
||||
- Update README, update driver configure files
|
||||
- Fix some bugs
|
||||
|
||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Wed Jan 11 2023 Vladis Dronov <vdronov@redhat.com> - 1.1.1-1
|
||||
- Update to qatzip v1.1.1
|
||||
- Add support for pkgconfig
|
||||
|
||||
* Thu Nov 24 2022 Vladis Dronov <vdronov@redhat.com> - 1.1.0-1
|
||||
- Rebuild for qatzip v1.1.0
|
||||
|
||||
* Mon Aug 08 2022 Vladis Dronov <vdronov@redhat.com> - 1.0.9-1
|
||||
- Rebuild for qatzip v1.0.9
|
||||
- Update to require qatlib-devel >= 22.07.0 due to soversion bump
|
||||
|
||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.7-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Wed Feb 09 2022 Vladis Dronov <vdronov@redhat.com> - 1.0.7-1
|
||||
- Rebuild for qatzip v1.0.7
|
||||
- Fix snprintf truncation check (bz 2046925)
|
||||
- Add -fstack-protector-strong build option (bz 2044889)
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Mon Sep 13 2021 zm627 <zheng.ma@intel.com> - 1.0.6-3
|
||||
- Rebuild for qatzip v1.0.6
|
||||
|
||||
* Sun Sep 12 2021 zm627 <zheng.ma@intel.com> - 1.0.6-2
|
||||
- Upload new qatzip source package and rebuild
|
||||
|
||||
* Sun Sep 12 2021 zm627 <zheng.ma@intel.com> - 1.0.6-1
|
||||
- Update to latest qatlib and qatzip upstream release
|
||||
|
||||
* Sun Sep 12 2021 zm627 <zheng.ma@intel.com> - 1.0.5-3
|
||||
- Add ExcludeArch ticket number
|
||||
|
||||
* Sun Sep 12 2021 zm627 <zheng.ma@intel.com> - 1.0.5-2
|
||||
- Rebuilt for qatlib v21.08
|
||||
|
||||
* Tue Jul 13 2021 Ma Zheng <zheng.ma@intel.com> - 1.0.5-1
|
||||
- Initial version of RPM Package
|
||||
* Fri Jan 26 2024 Vladis Dronov <vdronov@redhat.com> - 1.1.2-5
|
||||
- Initial import from Fedora 40
|
||||
|
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