disable some tests
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=56
This commit is contained in:
parent
ccc324d73d
commit
4d5c9ce322
@ -88,19 +88,24 @@ export CPPFLAGS="%{optflags} -fno-stack-protector"
|
|||||||
%make_build -C src
|
%make_build -C src
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# 1) tests are broken on strange archs
|
|
||||||
# 2) io_uring syscalls not supported as of qemu 7.0.0 and would test the host
|
|
||||||
# kernel anyway not the target kernel..
|
|
||||||
declare -a TEST_EXCLUDE=()
|
declare -a TEST_EXCLUDE=()
|
||||||
%if 0%{?suse_version} == 1600
|
|
||||||
|
%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
|
||||||
|
TEST_EXCLUDE+=( fallocate.t )
|
||||||
|
%elif 0%{?suse_version} == 1600
|
||||||
TEST_EXCLUDE+=( sqwait.t )
|
TEST_EXCLUDE+=( sqwait.t )
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
export TEST_EXCLUDE="${TEST_EXCLUDE[@]}"
|
%ifarch ppc64le
|
||||||
%ifnarch ppc64le s390x
|
TEST_EXCLUDE+=( no-mmap-inval.t recv-multishot.t reg-fd-only.t recvsend_bundle.t recvsend_bundle-inc.t )
|
||||||
%if !0%{?qemu_user_space_build}
|
|
||||||
%make_build runtests
|
|
||||||
%endif
|
%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[@]}"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user