Revert "Skip tests on i686 until we will make swtmp installable again"

This reverts commit c9eb5b2760.
This commit is contained in:
Jakub Jelen 2023-08-16 14:44:14 +02:00
parent fad73c9221
commit 654002a8ab

View File

@ -23,10 +23,7 @@ BuildRequires: python3-pytest-xdist
BuildRequires: tpm2-tss-devel >= 2.0.0 BuildRequires: tpm2-tss-devel >= 2.0.0
BuildRequires: gcc BuildRequires: gcc
# for tests # for tests
%%ifarch i686
%else
BuildRequires: swtpm BuildRequires: swtpm
%endif
BuildRequires: tpm2-tools BuildRequires: tpm2-tools
%global _description %{expand: %global _description %{expand:
@ -69,10 +66,7 @@ Summary: %{summary}
# this test does not work for some reason on the s390x as it times out # this test does not work for some reason on the s390x as it times out
%global testargs -k "not test_spi_helper_good" %global testargs -k "not test_spi_helper_good"
%endif %endif
%%ifarch i686
%else
%pytest --import-mode=append %{?!rhel:-n 1} %{?testargs} %pytest --import-mode=append %{?!rhel:-n 1} %{?testargs}
%endif
%files -n python3-%{pypi_name} -f %{pyproject_files} %files -n python3-%{pypi_name} -f %{pyproject_files}