[libcxx] [test] Remove an incorrect TEST_HAS_ALIGNED_ALLOC define from test_macros.h
authorMartin Storsjö <martin@martin.st>
Mon, 31 May 2021 10:01:59 +0000 (10:01 +0000)
committerMartin Storsjö <martin@martin.st>
Mon, 31 May 2021 19:13:22 +0000 (22:13 +0300)
This was added inconsistently in
19fd9039ca242f408493b5c662f9d908eab8555e; Windows doesn't have the
aligned_alloc function (neither MSVC nor MinGW toolchains) and we don't
define _LIBCPP_HAS_ALIGNED_ALLOC while building libcxx.

Differential Revision: https://reviews.llvm.org/D103399

libcxx/test/libcxx/language.support/has_aligned_alloc.compile.pass.cpp
libcxx/test/std/depr/depr.c.headers/stdlib_h.pass.cpp
libcxx/test/std/language.support/support.runtime/cstdlib.pass.cpp
libcxx/test/support/test_macros.h

index 5e86371..d1b41de 100644 (file)
@@ -8,8 +8,6 @@
 
 // UNSUPPORTED: c++03, c++11, c++14
 
-// XFAIL: LIBCXX-WINDOWS-FIXME
-
 // Make sure TEST_HAS_ALIGNED_ALLOC (defined by the test suite) and
 // _LIBCPP_HAS_ALIGNED_ALLOC (defined by libc++) stay in sync.
 
index 8dd15c9..295f518 100644 (file)
@@ -8,8 +8,6 @@
 
 // test <stdlib.h>
 
-// XFAIL: LIBCXX-WINDOWS-FIXME
-
 #include <stdlib.h>
 #include <type_traits>
 #include <cassert>
index f2ff89d..668213f 100644 (file)
@@ -8,8 +8,6 @@
 
 // test <cstdlib>
 
-// XFAIL: LIBCXX-WINDOWS-FIXME
-
 #include <cstdlib>
 #include <type_traits>
 #include <cassert>
index 4bd3d55..3d8f933 100644 (file)
 #  elif defined(_WIN32)
 #    if defined(_MSC_VER) && !defined(__MINGW32__)
 #      define TEST_HAS_QUICK_EXIT
-#      define TEST_HAS_ALIGNED_ALLOC
 #      define TEST_HAS_TIMESPEC_GET
 #    endif
 #  elif defined(__APPLE__)