disable some tests
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=54
This commit is contained in:
parent
30e48c28a5
commit
1b7ad60a4a
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 6 06:55:31 UTC 2025 - Jiri Slaby <jslaby@suse.cz>
|
||||
|
||||
- disable tests for older kernels & strange archs
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 6 09:49:21 UTC 2024 - Jiri Slaby <jslaby@suse.cz>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package liburing
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -88,11 +88,15 @@ export CPPFLAGS="%{optflags} -fno-stack-protector"
|
||||
%make_build -C src
|
||||
|
||||
%check
|
||||
# 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}
|
||||
# 1) tests are broken on strange archs
|
||||
# 2) tests are broken for older kernels
|
||||
# 3) io_uring syscalls not supported as of qemu 7.0.0 and would test the host
|
||||
# kernel anyway not the target kernel..
|
||||
%ifnarch ppc64le s390x
|
||||
%if 0%{?suse_version} > 1600 && !0%{?qemu_user_space_build}
|
||||
%make_build runtests
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
Loading…
x
Reference in New Issue
Block a user