diff options
author | Vaibhav Gupta <vaibhavgupta40@gmail.com> | 2019-08-14 03:33:02 +0530 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2019-09-10 13:47:29 -0500 |
commit | 5e5867a32ac6c98e8397903556af078de39b8544 (patch) | |
tree | 7b5328e1e69c941f40399220a249f9354962a66f /testsuites/psxtests/psxfenv01/psxfenv01.scn | |
parent | rtems: Make rtems_version_control_key() safer (diff) | |
download | rtems-5e5867a32ac6c98e8397903556af078de39b8544.tar.bz2 |
Add psxfenv01 test to psxtests
Note that this test requires a functional fenv implementation. Some
targets have multilib variants where the fenv implementation is not
100% passing.
Diffstat (limited to '')
-rw-r--r-- | testsuites/psxtests/psxfenv01/psxfenv01.scn | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxfenv01/psxfenv01.scn b/testsuites/psxtests/psxfenv01/psxfenv01.scn new file mode 100644 index 0000000000..21395e6712 --- /dev/null +++ b/testsuites/psxtests/psxfenv01/psxfenv01.scn @@ -0,0 +1,7 @@ +*** BEGIN OF TEST PSXFENV 01 *** +fesetenv(FE_DFL_ENV). +feclearexcept(FE_ALL_EXCEPT). +Divide by zero and confirm fetestexcept() + +*** END OF TEST PSXFENV 01 *** + |