Skip to content

Commit 2f01189

Browse files
mstorsjomemfrob
authored andcommitted
[libcxx] [test] Add XFAIL LIBCXX-WINDOWS-FIXME in 124 tests that fail in the future CI configuration
This makes no attempt yet to look into the why/what for each of them, but makes the CI configuration useful for tracking further regressions. After looking into each case, they can either be fixed, or converted into UNSUPPORTED: windows or XFAIL: windows, once the cause is known and explained. A number of the filesystem cases can be fixed by patches that are currently in review. Differential Revision: https://reviews.llvm.org/D99095
1 parent 28233fa commit 2f01189

File tree

124 files changed

+228
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

124 files changed

+228
-0
lines changed

libcxx/test/libcxx/debug/extern-templates.sh.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
// UNSUPPORTED: libcxx-no-debug-mode
1515
// UNSUPPORTED: libcpp-has-no-localization
1616

17+
// XFAIL: LIBCXX-WINDOWS-FIXME
18+
1719
// RUN: %{cxx} %{flags} %{compile_flags} %s %{link_flags} -fPIC -DTU1 -D_LIBCPP_DEBUG=1 -fvisibility=hidden -shared -o %t.lib
1820
// RUN: cd %T && %{cxx} %{flags} %{compile_flags} %s ./%basename_t.tmp.lib %{link_flags} -fPIC -DTU2 -D_LIBCPP_DEBUG=1 -fvisibility=hidden -o %t.exe
1921
// RUN: %{exec} %t.exe

libcxx/test/libcxx/diagnostics/nodiscard_extensions.pass.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
// UNSUPPORTED: apple-clang-9
1919
// UNSUPPORTED: gcc-5
2020

21+
// XFAIL: LIBCXX-WINDOWS-FIXME
22+
2123
// All entities to which libc++ applies [[nodiscard]] as an extension should
2224
// be tested here and in nodiscard_extensions.fail.cpp. They should also
2325
// be listed in `UsingLibcxx.rst` in the documentation for the extension.

libcxx/test/libcxx/include_as_c.sh.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
// file as C, but we're passing C++ flags on the command-line.
1515
// UNSUPPORTED: gcc
1616

17+
// XFAIL: LIBCXX-WINDOWS-FIXME
18+
1719
// Test that the C wrapper headers can be included when compiling them as C.
1820

1921
// NOTE: It's not common or recommended to have libc++ in the header search

libcxx/test/libcxx/input.output/filesystems/class.directory_entry/directory_entry.mods/last_write_time.pass.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
// UNSUPPORTED: c++03
1010
// ADDITIONAL_COMPILE_FLAGS: -I %S/../../../../../../src/filesystem
1111

12+
// XFAIL: LIBCXX-WINDOWS-FIXME
13+
1214
// <filesystem>
1315

1416
// class directory_entry

libcxx/test/libcxx/language.support/has_aligned_alloc.compile.pass.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
// UNSUPPORTED: c++03, c++11, c++14
1010

11+
// XFAIL: LIBCXX-WINDOWS-FIXME
12+
1113
// Make sure TEST_HAS_ALIGNED_ALLOC (defined by the test suite) and
1214
// _LIBCPP_HAS_ALIGNED_ALLOC (defined by libc++) stay in sync.
1315

libcxx/test/libcxx/language.support/has_timespec_get.compile.pass.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
// UNSUPPORTED: c++03, c++11, c++14
1010

11+
// XFAIL: LIBCXX-WINDOWS-FIXME
12+
1113
// Make sure TEST_HAS_TIMESPEC_GET (defined by the test suite) and
1214
// _LIBCPP_HAS_TIMESPEC_GET (defined by libc++) stay in sync.
1315

libcxx/test/libcxx/language.support/support.rtti/type.info/type_info.comparison.merged.sh.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
// UNSUPPORTED: no-rtti
1010

11+
// XFAIL: LIBCXX-WINDOWS-FIXME
12+
1113
// RUN: %{cxx} %s %{flags} %{compile_flags} -c -o %t.tu1.o -DTU1 -D_LIBCPP_TYPEINFO_COMPARISON_IMPLEMENTATION=1
1214
// RUN: %{cxx} %s %{flags} %{compile_flags} -c -o %t.tu2.o -DTU2 -D_LIBCPP_TYPEINFO_COMPARISON_IMPLEMENTATION=1
1315
// RUN: %{cxx} %s %{flags} %{compile_flags} -c -o %t.main.o -DMAIN -D_LIBCPP_TYPEINFO_COMPARISON_IMPLEMENTATION=1

libcxx/test/libcxx/memory/trivial_abi/unique_ptr_destruction_order.pass.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
// There were assertion failures in both parse and codegen, which are fixed in clang 11.
1818
// UNSUPPORTED: gcc, clang-4, clang-5, clang-6, clang-7, clang-8, clang-9, clang-10
1919

20+
// XFAIL: LIBCXX-WINDOWS-FIXME
21+
2022
#include <memory>
2123
#include <cassert>
2224

libcxx/test/libcxx/memory/trivial_abi/unique_ptr_ret.pass.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
// There were assertion failures in both parse and codegen, which are fixed in clang 11.
1616
// UNSUPPORTED: gcc, clang-4, clang-5, clang-6, clang-7, clang-8, clang-9, clang-10
1717

18+
// XFAIL: LIBCXX-WINDOWS-FIXME
19+
1820
#include <memory>
1921
#include <cassert>
2022

libcxx/test/libcxx/memory/trivial_abi/weak_ptr_ret.pass.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
// There were assertion failures in both parse and codegen, which are fixed in clang 11.
1616
// UNSUPPORTED: gcc, clang-4, clang-5, clang-6, clang-7, clang-8, clang-9, clang-10
1717

18+
// XFAIL: LIBCXX-WINDOWS-FIXME
19+
1820
#include <memory>
1921
#include <cassert>
2022

0 commit comments

Comments
 (0)