diff --git a/rust-nix0.24.spec b/rust-nix0.24.spec index eba760a..7bb2e5c 100644 --- a/rust-nix0.24.spec +++ b/rust-nix0.24.spec @@ -1,5 +1,6 @@ # Generated by rust2rpm 24 -%bcond_without check +# * many tests don't work when virtualized / containerized +%bcond_with check %global debug_package %{nil} %global crate nix @@ -460,8 +461,7 @@ use the "zerocopy" feature of the "%{crate}" crate. %if %{with check} %check -# * skip tests that don't work in mock environments -%cargo_test -- -- --skip sys::resource::test::test_self_cpu_time --skip sys::test_ioctl::linux_ioctls::test_ioctl_write_int --skip test_fcntl::linux_android::test_copy_file_range --skip sys::test_socket::test_af_alg_cipher --skip sys::test_socket::test_timestamping --skip sys::socket::sendmsg +%cargo_test %endif %changelog