diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2020-10-19 09:35:45 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2020-10-19 09:35:45 +0000 |
commit | 1a11c95079b3fee6b1bbb0c0824555cd9b5624fd (patch) | |
tree | 845b97775c9411505dcbf8b55594d20a59db2f27 /regress/lib/libm | |
parent | 0ac80965b9ceda6e1b4a4c58441cc67c4560358e (diff) |
Disable FP exception masking tests on armv7 and arm64. ARM hardware doesn't
implement this feature.
Diffstat (limited to 'regress/lib/libm')
-rw-r--r-- | regress/lib/libm/msun/fenv_test.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/regress/lib/libm/msun/fenv_test.c b/regress/lib/libm/msun/fenv_test.c index f01e5a57ac6..d63d82e84de 100644 --- a/regress/lib/libm/msun/fenv_test.c +++ b/regress/lib/libm/msun/fenv_test.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fenv_test.c,v 1.3 2019/02/22 14:22:51 bluhm Exp $ */ +/* $OpenBSD: fenv_test.c,v 1.4 2020/10/19 09:35:44 kettenis Exp $ */ /*- * Copyright (c) 2004 David Schultz <das@FreeBSD.org> * All rights reserved. @@ -394,6 +394,7 @@ test_fegsetenv(void) static void test_masking(void) { +#if !defined(__arm__) && !defined(__aarch64__) struct sigaction act; int except, pass, raise, status; unsigned i; @@ -462,6 +463,7 @@ test_masking(void) } } assert(fetestexcept(FE_ALL_EXCEPT) == 0); +#endif } /* @@ -537,6 +539,9 @@ test_feholdupdate(void) assert(0); } } +#if defined(__arm__) || defined(__aarch64__) + break; +#endif } assert(fetestexcept(FE_ALL_EXCEPT) == 0); } |