Fix test gating

Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
epel9
Michel Alexandre Salim 2 years ago
parent 3b892a6227
commit fa97f9ae68
No known key found for this signature in database
GPG Key ID: 8B229D2F7CCC04F2

@ -127,6 +127,7 @@ use the "serde" feature of the "%{crate}" crate.
%install
%cargo_install
%if %{with check}
%check
# skip tests that fail when run on vms, on tmpfs, or in systemd-nspawn
%if 0%{?fedora} >= 38
@ -135,7 +136,6 @@ SKIP_TESTS=""
SKIP_TESTS=" --skip test::check_all_process_uids_resolvable --skip test_disks"
%endif
%if %{with check}
%ifarch s390x
# these tests panic with assertion failures on s390x
SKIP_TESTS+=" --skip test::check_cpus_number --skip test::check_processes_cpu_usage"

Loading…
Cancel
Save