Accepting request 1279279 from Base:System

- Skip all stack overflow tests in qemu linux-user emulation (forwarded request 1278367 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/1279279
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/m4?expand=0&rev=47
This commit is contained in:
2025-05-26 16:31:52 +00:00
committed by Git OBS Bridge
2 changed files with 12 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon May 19 08:33:20 UTC 2025 - Andreas Schwab <schwab@suse.de>
- Skip all stack overflow tests in qemu linux-user emulation
-------------------------------------------------------------------
Wed May 14 10:43:08 UTC 2025 - Friedrich Haubensak <hsk17@mail.de>

View File

@@ -60,6 +60,13 @@ cp -a /usr/lib/rpm/config.{sub,guess} build-aux/
%endif
%check
%if 0%{?qemu_user_space_build}
# Stack overflow tests are not supported by qemu linux-user emulation
echo exit 77 > checks/stackovf.test
echo exit 77 > tests/test-c-stack.sh
echo 'int main () { return 77; }' > tests/test-sigsegv-catch-stackoverflow1.c
echo 'int main () { return 77; }' > tests/test-sigsegv-catch-stackoverflow2.c
%endif
%make_build check CFLAGS="%{optflags}"
%install