diff --git a/libcap.changes b/libcap.changes index 829b96e..6c02ed2 100644 --- a/libcap.changes +++ b/libcap.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Dec 9 14:15:56 UTC 2024 - Andreas Schwab + +- Disable psx_test and b219174 tests in qemu emulation + ------------------------------------------------------------------- Mon Dec 2 21:18:04 UTC 2024 - Petr Vorel diff --git a/libcap.spec b/libcap.spec index d5ef247..1b85ef3 100644 --- a/libcap.spec +++ b/libcap.spec @@ -108,6 +108,12 @@ rm %{buildroot}%{_libdir}/libcap.a %fdupes -s %{buildroot} %check +%if 0%{?qemu_user_space_build} +# qemu emulation always creates an extra thread, causing psx_syscall to +# run into an infinite loop. +echo 'int main() { return 0; }' > tests/psx_test.c +echo 'int main() { return 0; }' > tests/b219174.c +%endif %make_build %{buildvariables} test %ldconfig_scriptlets -n libcap2