1 add_libc_testsuite(libc_fenv_unittests)
10 libc.src.fenv.fegetround
11 libc.src.fenv.fesetround
19 exception_status_test.cpp
21 libc.src.fenv.feclearexcept
22 libc.src.fenv.feraiseexcept
23 libc.src.fenv.fetestexcept
24 libc.src.__support.FPUtil.fenv_impl
28 getenv_and_setenv_test
32 getenv_and_setenv_test.cpp
34 libc.src.fenv.fegetenv
35 libc.src.fenv.fegetround
36 libc.src.fenv.fesetenv
37 libc.src.fenv.fesetround
38 libc.src.__support.FPUtil.fenv_impl
46 exception_flags_test.cpp
48 libc.src.fenv.fegetexceptflag
49 libc.src.fenv.fesetexceptflag
50 libc.src.__support.FPUtil.fenv_impl
61 libc.src.fenv.feupdateenv
62 libc.src.__support.FPUtil.fenv_impl
70 feclearexcept_test.cpp
72 libc.src.fenv.feclearexcept
73 libc.src.__support.FPUtil.fenv_impl
81 feenableexcept_test.cpp
83 libc.src.fenv.fedisableexcept
84 libc.src.fenv.feenableexcept
85 libc.src.fenv.fegetexcept
88 if (NOT (LLVM_USE_SANITIZER OR (${LIBC_TARGET_OS} STREQUAL "windows")
89 OR (${LIBC_TARGET_OS} STREQUAL "darwin")))
90 # Sanitizers don't like SIGFPE. So, we will run the
91 # tests which raise SIGFPE only in non-sanitizer builds.
92 # The tests are also disabled for Windows and MacOS as they fail currently.
93 # TODO: Investigate and fix the windows failures and enable them for Windows
96 enabled_exceptions_test
100 enabled_exceptions_test.cpp
103 libc.src.fenv.feclearexcept
104 libc.src.fenv.feraiseexcept
105 libc.src.fenv.fetestexcept
106 libc.src.__support.FPUtil.fenv_impl
114 feholdexcept_test.cpp
117 libc.src.fenv.feholdexcept
118 libc.src.__support.FPUtil.fenv_impl