diff --git a/libsigsegv.changes b/libsigsegv.changes index 21f821f..c9155a2 100644 --- a/libsigsegv.changes +++ b/libsigsegv.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 10 21:18:10 UTC 2022 - Andreas Schwab + +- test-catch-stackoverflow1 and test-catch-stackoverflow2 are expected to + fail under qemu + ------------------------------------------------------------------- Fri Jan 7 20:53:26 UTC 2022 - Andreas Stieger diff --git a/libsigsegv.spec b/libsigsegv.spec index 9d2d033..d350e95 100644 --- a/libsigsegv.spec +++ b/libsigsegv.spec @@ -92,12 +92,11 @@ make %{?_smp_mflags} rm "%{buildroot}%{_libdir}/libsigsegv.la" %check -%if 0%{?qemu_user_space_build:1} -# qemu does not support stack overflows well ;) -make %{?_smp_mflags} check TESTS='sigsegv1 sigsegv2 sigsegv3' -%else -make %{?_smp_mflags} check +%if 0%{?qemu_user_space_build} +# qemu does not support stack overflows well +export XFAIL_TESTS="test-catch-stackoverflow1 test-catch-stackoverflow2" %endif +make %{?_smp_mflags} check %post -n %{lname} -p /sbin/ldconfig %postun -n %{lname} -p /sbin/ldconfig