Commit 717ebf92 authored by Philippe Gerum's avatar Philippe Gerum
Browse files

tests/fault: skip SIGFPE check with ARM softfp ABI



An ugly work-around to pass the test on armv6l (e.g. Raspberry PI Zero
targeting the softfp floating-point ABI).
Signed-off-by: Philippe Gerum's avatarPhilippe Gerum <rpm@xenomai.org>
parent 942ff746
......@@ -54,6 +54,7 @@ int main(int argc, char *argv[])
*blunder = 0;
}
#ifndef __SOFTFP__ /* Right, quite ugly. */
if (!setjmp(recover)) {
/*
* If we can't enable fp exceptions, skip the divzero
......@@ -64,6 +65,7 @@ int main(int argc, char *argv[])
zero = 127.0 / zero;
}
}
#endif
__Texpr_assert(received == expected_sigs);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment