diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2019-12-21 10:02:35 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2019-12-21 10:02:35 +0000 |
commit | da9bb1ba1c9082406fb1adc751f715d9f6e321b6 (patch) | |
tree | e03bf85e5dc6c31d660677fadfafc380b519886f /regress/lib | |
parent | e8709735f3c358f58b9ea2174e8d57c1d2fcc3f3 (diff) |
Disable FP exception masking tests on armv7 and arm64. ARM hardware doesn't
implement this feature.
ok blum@ (a while back)
Diffstat (limited to 'regress/lib')
-rw-r--r-- | regress/lib/libm/fenv/fenv.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/regress/lib/libm/fenv/fenv.c b/regress/lib/libm/fenv/fenv.c index 46d9b95f6ae..edecb8f3f18 100644 --- a/regress/lib/libm/fenv/fenv.c +++ b/regress/lib/libm/fenv/fenv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fenv.c,v 1.5 2018/07/10 20:21:53 bluhm Exp $ */ +/* $OpenBSD: fenv.c,v 1.6 2019/12/21 10:02:34 kettenis Exp $ */ /*- * Copyright (c) 2004 David Schultz <das@FreeBSD.org> @@ -322,6 +322,7 @@ test_fegsetenv(void) static void test_masking(void) { +#if !defined(__arm__) && !defined(__arm64__) struct sigaction act; int except, i, pass, raise, status; @@ -389,6 +390,7 @@ test_masking(void) } } assert(fetestexcept(FE_ALL_EXCEPT) == 0); +#endif } /* @@ -463,6 +465,9 @@ test_feholdupdate(void) assert(0); } } +#if defined(__arm__) || defined(__arm64__) + break; +#endif } assert(fetestexcept(FE_ALL_EXCEPT) == 0); } |