From e84587355a64152b8cd6ae748ac88d8c75447b51 Mon Sep 17 00:00:00 2001 From: Eshan dhawan Date: Mon, 20 Apr 2020 23:52:43 +0530 Subject: tests for fenv.h functions added tests for fesetexeptflag(), fegetexeptflag(), fegetround(), fesetround(). In the test fegetround() does not return any flag other then FE_TONEAREST in tests. This is probably due to soft float. The test complies successfully and returns assert at fegetround() Other tests run without any errors tested on RISCV/rv32imac The test prints nothing if runs successfully. updates #2971 Signed-off-by: Eshan dhawan --- testsuites/psxtests/psxfenv01/psxfenv01.scn | 4 ---- 1 file changed, 4 deletions(-) (limited to 'testsuites/psxtests/psxfenv01/psxfenv01.scn') diff --git a/testsuites/psxtests/psxfenv01/psxfenv01.scn b/testsuites/psxtests/psxfenv01/psxfenv01.scn index 21395e6712..6ea3bc255e 100644 --- a/testsuites/psxtests/psxfenv01/psxfenv01.scn +++ b/testsuites/psxtests/psxfenv01/psxfenv01.scn @@ -1,7 +1,3 @@ *** BEGIN OF TEST PSXFENV 01 *** -fesetenv(FE_DFL_ENV). -feclearexcept(FE_ALL_EXCEPT). -Divide by zero and confirm fetestexcept() - *** END OF TEST PSXFENV 01 *** -- cgit v1.2.3