1 add_custom_target(libc_fenv_unittests)
10 libc.src.fenv.fegetround
11 libc.src.fenv.fesetround
21 exception_status_test.cpp
23 libc.src.fenv.feclearexcept
24 libc.src.fenv.feraiseexcept
25 libc.src.fenv.fesetexcept
26 libc.src.fenv.fetestexcept
27 libc.src.__support.FPUtil.fenv_impl
33 getenv_and_setenv_test
37 getenv_and_setenv_test.cpp
39 libc.src.fenv.fegetenv
40 libc.src.fenv.fegetround
41 libc.src.fenv.fesetenv
42 libc.src.fenv.fesetround
43 libc.src.__support.FPUtil.fenv_impl
44 libc.src.__support.macros.properties.os
54 exception_flags_test.cpp
56 libc.src.fenv.fegetexceptflag
57 libc.src.fenv.fesetexceptflag
58 libc.src.fenv.fetestexceptflag
59 libc.src.__support.FPUtil.fenv_impl
72 libc.src.fenv.feupdateenv
73 libc.src.__support.FPUtil.fenv_impl
83 feclearexcept_test.cpp
85 libc.src.fenv.feclearexcept
86 libc.src.__support.FPUtil.fenv_impl
96 feenableexcept_test.cpp
98 libc.src.fenv.fedisableexcept
99 libc.src.fenv.feenableexcept
100 libc.src.fenv.fegetexcept
105 if (NOT (LLVM_USE_SANITIZER OR (${LIBC_TARGET_OS} STREQUAL "windows")
106 OR (${LIBC_TARGET_OS} STREQUAL "darwin")))
107 # Sanitizers don't like SIGFPE. So, we will run the
108 # tests which raise SIGFPE only in non-sanitizer builds.
109 # The tests are also disabled for Windows and MacOS as they fail currently.
110 # TODO: Investigate and fix the windows failures and enable them for Windows
113 enabled_exceptions_test
118 enabled_exceptions_test.cpp
121 libc.src.fenv.feclearexcept
122 libc.src.fenv.feraiseexcept
123 libc.src.fenv.fetestexcept
124 libc.src.__support.FPUtil.fenv_impl
126 LibcFPExceptionHelpers
136 feholdexcept_test.cpp
139 libc.src.fenv.feholdexcept
140 libc.src.__support.FPUtil.fenv_impl
142 LibcFPExceptionHelpers