From 38aa69c40f2b47612d62e21db86870b6e385f630 Mon Sep 17 00:00:00 2001 From: Vladis Dronov Date: Thu, 30 Mar 2023 14:02:28 +0200 Subject: [PATCH] Update to qatzip 1.1.2 Resolves: rhbz#2082439 Signed-off-by: Vladis Dronov --- .gitignore | 4 ++-- qatzip.spec | 9 ++++++++- sources | 2 +- tests/README | 21 +++++++++++++++++++++ tests/nulltest.sh | 6 ++++++ tests/tests.yml | 10 ++++++++++ 6 files changed, 48 insertions(+), 4 deletions(-) create mode 100644 tests/README create mode 100755 tests/nulltest.sh create mode 100644 tests/tests.yml diff --git a/.gitignore b/.gitignore index 256ff6a..2813f97 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -SOURCES/qatzip-1.0.9.tar.gz -/qatzip-1.0.9.tar.gz +SOURCES/qatzip-*.tar.gz +/qatzip-*.tar.gz diff --git a/qatzip.spec b/qatzip.spec index d2b01a4..96ef956 100644 --- a/qatzip.spec +++ b/qatzip.spec @@ -4,7 +4,7 @@ %global libqatzip_soversion 3 Name: qatzip -Version: 1.0.9 +Version: 1.1.2 Release: 1%{?dist} Summary: Intel QuickAssist Technology (QAT) QATzip Library License: BSD @@ -83,8 +83,15 @@ rm -vf %{buildroot}%{_mandir}/*.pdf %doc docs/QATzip-man.pdf %{_includedir}/qatzip.h %{_libdir}/libqatzip.so +%{_libdir}/pkgconfig/*.pc %changelog +* Wed Mar 29 2023 Vladis Dronov - 1.1.2-1 +- Update to qatzip 1.1.2 (bz 2082439) +- Update README, update driver configure files +- Fix some bugs +- Add support for pkgconfig + * Mon Aug 08 2022 Vladis Dronov - 1.0.9-1 - Rebuild for qatzip v1.0.9 (bz 2048039) - Update to require qatlib-devel >= 22.07.0 due to soversion bump diff --git a/sources b/sources index 82cd989..f85630d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (qatzip-1.0.9.tar.gz) = 96033af621c5e8f77162a21bb8def201f944e4ff6cfe68f11cf2b2a9a6bb8baff66c62eceba3d525064a612414f893228747dc78cc812ad3260e29de1b71f3ce +SHA512 (qatzip-1.1.2.tar.gz) = f88f61945495f487566ee65d8a9d743218d2c9298f8b3540a7fd13670f121bec7d863309b482c108c96ca734fc2c1c5d4b693c0602161e5e9bb7de4ea1e428b7 diff --git a/tests/README b/tests/README new file mode 100644 index 0000000..b485c12 --- /dev/null +++ b/tests/README @@ -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. diff --git a/tests/nulltest.sh b/tests/nulltest.sh new file mode 100755 index 0000000..74b68d4 --- /dev/null +++ b/tests/nulltest.sh @@ -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 diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..0e807fa --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,10 @@ +--- +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + tests: + - nulltest: + dir: . + run: nulltest.sh