Ensure all tests that need to be skipped are actually skipped

epel9
Fabio Valentini 2 years ago
parent d71b18c084
commit ec721dce20
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -1,5 +1,5 @@
--- nix-0.24.3/Cargo.toml 1970-01-01T00:00:01+00:00
+++ nix-0.24.3/Cargo.toml 1970-01-01T00:00:01+00:00
+++ nix-0.24.3/Cargo.toml 2023-02-15T18:05:14.273013+00:00
@@ -178,5 +178,3 @@
version = "0.6.3"
optional = true

@ -1,4 +1,4 @@
# Generated by rust2rpm 23
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
@ -461,9 +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::test_ioctl::linux_ioctls::test_ioctl_write_int \
--skip test_fcntl::linux_android::test_copy_file_range
%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
%endif
%changelog

Loading…
Cancel
Save