Accepting request 920376 from home:Andreas_Schwab:Factory

- Skip stack overflow tests under qemu emulation (bsc#1190046)

OBS-URL: https://build.opensuse.org/request/show/920376
OBS-URL: https://build.opensuse.org/package/show/Base:System/diffutils?expand=0&rev=69
This commit is contained in:
Jiri Slaby 2021-09-21 09:17:42 +00:00 committed by Git OBS Bridge
parent bde73f03e4
commit f7a0fcc047
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Sep 20 17:45:41 UTC 2021 - Andreas Schwab <schwab@suse.de>
- Skip stack overflow tests under qemu emulation (bsc#1190046)
-------------------------------------------------------------------
Sat Aug 7 08:57:49 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>

View File

@ -45,6 +45,12 @@ make source code patches, for instance.
%make_build
%check
%if 0%{?qemu_user_space_build}
# Stack overflow tests are difficult to emulate, skip them
echo exit 77 > gnulib-tests/test-c-stack.sh
echo 'int main() { return 77; }' > gnulib-tests/test-sigsegv-catch-stackoverflow1.c
echo 'int main() { return 77; }' > gnulib-tests/test-sigsegv-catch-stackoverflow2.c
%endif
%make_build check
%install