disable some tests
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=57
This commit is contained in:
parent
4d5c9ce322
commit
549b26df0d
@ -92,7 +92,7 @@ declare -a TEST_EXCLUDE=()
|
||||
|
||||
%if 0%{?%sle_version} == 150500
|
||||
TEST_EXCLUDE+=( fallocate.t fd-pass.t fixed-buf-merge.t msg-ring-overflow.t nop.t poll-race-mshot.t reg-hint.t sqwait.t wq-aff.t )
|
||||
%elif 0%{?%sle_version} == 150600
|
||||
%elif 0%{?%sle_version} == 150600 || 0%{?%sle_version} == 150700
|
||||
TEST_EXCLUDE+=( fallocate.t )
|
||||
%elif 0%{?suse_version} == 1600
|
||||
TEST_EXCLUDE+=( sqwait.t )
|
||||
@ -100,12 +100,16 @@ TEST_EXCLUDE+=( sqwait.t )
|
||||
|
||||
%ifarch ppc64le
|
||||
TEST_EXCLUDE+=( no-mmap-inval.t recv-multishot.t reg-fd-only.t recvsend_bundle.t recvsend_bundle-inc.t )
|
||||
%elifarch s390x
|
||||
TEST_EXCLUDE+=( futex.t multicqes_drain.t poll-mshot-update.t read-mshot.t waitid.t )
|
||||
TEST_EXCLUDE+=( min-timeout-wait.t submit-and-wait.t sync-cancel.t )
|
||||
%endif
|
||||
|
||||
# io_uring syscalls not supported as of qemu 7.0.0 and would test the host
|
||||
# kernel anyway not the target kernel..
|
||||
%if !0%{?qemu_user_space_build}
|
||||
%make_build runtests TEST_EXCLUDE="${TEST_EXCLUDE[@]}"
|
||||
echo "TEST_EXCLUDE=\"${TEST_EXCLUDE[@]}\"" > test/config.local
|
||||
%make_build runtests
|
||||
%endif
|
||||
|
||||
%install
|
||||
|
Loading…
x
Reference in New Issue
Block a user