Skip to content

Commit ae85b39

Browse files
authored
[libc++] tests with picolibc: mark fenv tests as unsupported (llvm#74610)
The FE_* macros checked for in cfenv.pass.cpp are not required to be defined, if the relevant options are _not_ available. Picolibc happens not to provide these on some platforms.
1 parent 70c84f8 commit ae85b39

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

libcxx/test/std/depr/depr.c.headers/fenv_h.compile.pass.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// Floating point exceptions are required for the FE_... macros to be defined.
10-
// XFAIL: LIBCXX-PICOLIBC-FIXME
9+
// Picolibc does not define some of the floating point environment macros for
10+
// arm platforms without hardware floating point support.
11+
// UNSUPPORTED: LIBCXX-PICOLIBC-FIXME
1112

1213
// <fenv.h>
1314

libcxx/test/std/numerics/cfenv/cfenv.syn/cfenv.pass.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// Floating point exceptions are required for the FE_... macros to be defined.
10-
// XFAIL: LIBCXX-PICOLIBC-FIXME
9+
// Picolibc does not define some of the floating point environment macros for
10+
// arm platforms without hardware floating point support.
11+
// UNSUPPORTED: LIBCXX-PICOLIBC-FIXME
1112

1213
// <cfenv>
1314

0 commit comments

Comments
 (0)