Committed. Thank you for your comment!
On 2020/06/22 20:09, Kamil Rytarowski wrote:
On 22.06.2020 04:51, Rin Okuyama wrote:
Module Name: src
Committed By: rin
Date: Mon Jun 22 02:51:07 UTC 2020
src/tests/lib/libc/sys: t_ptrace_signal_wait.h t_ptrace_wait.h
Turn trigger_fpe() back to integer division by zero for a while
until QEMU bug #1668041 is fixed:
by which floating-point division by zero is not trapped correctly
both on amd64 and i386.
Skip *_crash_fpe tests on powerpc, where integer division by zero
is never trapped.
The intention of this test is just detecting SIGFPE. If the si_code
value is various on different architectures (like one traps on integers
other one on floats), we shall just drop the asserts for si_code and
adapt the trigger_fpe() function to cover promptly more ports.
The qemu bug should be fixed nonetheless.