[libcxx-commits] [libcxx] 9be1bdc - [libc++] Add XFAIL for <float.h> and <cfloat> tests on older Clangs
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Jul 30 06:27:05 PDT 2020
Author: Louis Dionne
Date: 2020-07-30T09:26:55-04:00
New Revision: 9be1bdc24075b8a99f251cee5416615574afa295
URL: https://github.com/llvm/llvm-project/commit/9be1bdc24075b8a99f251cee5416615574afa295
DIFF: https://github.com/llvm/llvm-project/commit/9be1bdc24075b8a99f251cee5416615574afa295.diff
LOG: [libc++] Add XFAIL for <float.h> and <cfloat> tests on older Clangs
Added:
Modified:
libcxx/test/std/depr/depr.c.headers/float_h.pass.cpp
libcxx/test/std/language.support/support.limits/c.limits/cfloat.pass.cpp
Removed:
################################################################################
diff --git a/libcxx/test/std/depr/depr.c.headers/float_h.pass.cpp b/libcxx/test/std/depr/depr.c.headers/float_h.pass.cpp
index 2b7edcadc217..ae061ed85159 100644
--- a/libcxx/test/std/depr/depr.c.headers/float_h.pass.cpp
+++ b/libcxx/test/std/depr/depr.c.headers/float_h.pass.cpp
@@ -6,7 +6,10 @@
//
//===----------------------------------------------------------------------===//
- // test <float.h>
+// Before Clang 9.0, <float.h> does not define FLT_HAS_SUBNORM & friends in C++.
+// XFAIL: clang-4, clang-5, clang-6, clang-7, clang-8
+
+// test <float.h>
#include <float.h>
diff --git a/libcxx/test/std/language.support/support.limits/c.limits/cfloat.pass.cpp b/libcxx/test/std/language.support/support.limits/c.limits/cfloat.pass.cpp
index 99fe6a37243c..1406908b5246 100644
--- a/libcxx/test/std/language.support/support.limits/c.limits/cfloat.pass.cpp
+++ b/libcxx/test/std/language.support/support.limits/c.limits/cfloat.pass.cpp
@@ -6,7 +6,10 @@
//
//===----------------------------------------------------------------------===//
- // test cfloat
+// Before Clang 9.0, <float.h> does not define FLT_HAS_SUBNORM & friends in C++.
+// XFAIL: clang-4, clang-5, clang-6, clang-7, clang-8
+
+// test cfloat
#include <cfloat>
More information about the libcxx-commits
mailing list