diff --git a/rust-sysinfo.spec b/rust-sysinfo.spec index 4082423..8429d0a 100644 --- a/rust-sysinfo.spec +++ b/rust-sysinfo.spec @@ -1,5 +1,7 @@ # Generated by rust2rpm 24 -%bcond_without check +# * many tests don't work when virtualized / containerized +# especially on s390x +%bcond_with check %global debug_package %{nil} %global crate sysinfo @@ -129,8 +131,7 @@ use the "serde" feature of the "%{crate}" crate. %if %{with check} %check -# * skip tests that fail in VMs or in systemd-nspawn containers on different architectures -%cargo_test -- -- --skip test::check_all_process_uids_resolvable --skip test::check_cpu_usage --skip test::check_cpus_number --skip test::check_processes_cpu_usage --skip test_disks +%cargo_test %endif %changelog