[libc] Small adjustments to fenv tests
authorMichael Jones <michaelrj@google.com>
Fri, 29 Jan 2021 00:30:23 +0000 (00:30 +0000)
committerMichael Jones <michaelrj@google.com>
Mon, 1 Feb 2021 18:40:32 +0000 (18:40 +0000)
commitcb2e2d506814dc3c06449a87aec180b29f4351d7
tree0da78a60b67b3e1c2258076f5466a4f119d8cf18
parentc4d6f2707a1e6c4e9bd93480dd913121fef122b7
[libc] Small adjustments to fenv tests

Some libcs define non-standard FE_* macros and include them in
FE_ALL_EXCEPT. This change adjusts the fenv tests so that the
non-standard FE_* macros do not interfere when compiled with
fenv.h from another libc.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D95650
libc/test/src/fenv/enabled_exceptions_test.cpp
libc/test/src/fenv/exception_status_test.cpp