diff options
| author | Siva Mahadevan <me@svmhdvn.name> | 2025-10-08 20:40:15 +0000 |
|---|---|---|
| committer | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2025-12-17 10:43:32 +0000 |
| commit | de601d5bf5c6d2409134abc4638c7a0818cc896e (patch) | |
| tree | e383b0b661131ed6fdf4615d354a0def934b1608 /lib/msun/tests | |
| parent | 5a0617454e37c6a3df4106c24bd5ad20b338fe3a (diff) | |
Diffstat (limited to 'lib/msun/tests')
| -rw-r--r-- | lib/msun/tests/lrint_test.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/msun/tests/lrint_test.c b/lib/msun/tests/lrint_test.c index 29ba82222642..a3f4225dc569 100644 --- a/lib/msun/tests/lrint_test.c +++ b/lib/msun/tests/lrint_test.c @@ -41,9 +41,9 @@ #include "test-utils.h" #define test(func, x, result, excepts) do { \ - ATF_CHECK(feclearexcept(FE_ALL_EXCEPT) == 0); \ + ATF_REQUIRE(feclearexcept(FE_ALL_EXCEPT) == 0); \ long long _r = (func)(x); \ - ATF_CHECK_MSG(_r == (result) || fetestexcept(FE_INVALID), \ + ATF_REQUIRE_MSG(_r == (result) || fetestexcept(FE_INVALID), \ #func "(%Lg) returned %lld, expected %lld", (long double)x, _r, \ (long long)(result)); \ CHECK_FP_EXCEPTIONS_MSG(excepts, FE_ALL_EXCEPT & ALL_STD_EXCEPT, \ @@ -131,6 +131,9 @@ run_tests(void) ATF_TC_WITHOUT_HEAD(lrint); ATF_TC_BODY(lrint, tc) { +#if defined(__aarch64__) || defined(__riscv) + atf_tc_expect_fail("https://bugs.freebsd.org/290099"); +#endif run_tests(); #ifdef __i386__ fpsetprec(FP_PE); |
