summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxfenv01/psxfenv01.scn
diff options
context:
space:
mode:
authorEshan dhawan <eshandhawan51@gmail.com>2020-04-20 23:52:43 +0530
committerJoel Sherrill <joel@rtems.org>2020-06-06 15:24:59 -0500
commite84587355a64152b8cd6ae748ac88d8c75447b51 (patch)
tree5f844a77dddd83c4624ab348fa88f59282168bf7 /testsuites/psxtests/psxfenv01/psxfenv01.scn
parentarm: Fix ARMv7-M exception handler (diff)
downloadrtems-e84587355a64152b8cd6ae748ac88d8c75447b51.tar.bz2
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 <eshandhawan51@gmail.com>
Diffstat (limited to '')
-rw-r--r--testsuites/psxtests/psxfenv01/psxfenv01.scn4
1 files changed, 0 insertions, 4 deletions
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 ***