diff --git a/rust-nix.spec b/rust-nix.spec index 2d511d4..02c3df0 100644 --- a/rust-nix.spec +++ b/rust-nix.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 @@ -472,8 +473,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