|
|
|
@ -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"
|
|
|
|
|