Skip to content

Commit 2ae1b7d

Browse files
committed
Remove the new feature. Mark the tests as UNSUPPORTED
1 parent 9e7ec18 commit 2ae1b7d

File tree

3 files changed

+6
-33
lines changed

3 files changed

+6
-33
lines changed

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

Lines changed: 3 additions & 2 deletions
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-
// REQUIRES: has-compolete-fenv
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

Lines changed: 3 additions & 2 deletions
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-
// REQUIRES: has-compolete-fenv
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

libcxx/utils/libcxx/test/features.py

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -224,35 +224,6 @@ def _getAndroidDeviceApi(cfg):
224224
""",
225225
),
226226
),
227-
# Some platform do not provide complete floating point environment.
228-
Feature(
229-
name="has-compolete-fenv",
230-
when=lambda cfg: sourceBuilds(
231-
cfg,
232-
"""
233-
#include <fenv.h>
234-
235-
#if !( \
236-
defined FE_DIVBYZERO \
237-
&& defined FE_INEXACT \
238-
&& defined FE_INVALID \
239-
&& defined FE_INEXACT \
240-
&& defined FE_OVERFLOW \
241-
&& defined FE_UNDERFLOW \
242-
&& defined FE_ALL_EXCEPT \
243-
&& defined FE_DOWNWARD \
244-
&& defined FE_TONEAREST \
245-
&& defined FE_TOWARDZERO \
246-
&& defined FE_UPWARD \
247-
&& defined FE_DFL_ENV \
248-
&& defined FE_INEXACT)
249-
#error Floating point environment not complete
250-
#endif
251-
252-
int main(int, char**) { return 0; }
253-
""",
254-
),
255-
),
256227
# Check for a Windows UCRT bug (fixed in UCRT/Windows 10.0.20348.0):
257228
# https://developercommunity.visualstudio.com/t/utf-8-locales-break-ctype-functions-for-wchar-type/1653678
258229
Feature(

0 commit comments

Comments
 (0)