Skip to content

Commit 4f7fa06

Browse files
committed
[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 247f8f6 commit 4f7fa06

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

+2
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

+2
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

+2
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

+2
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

+2
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

+2
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

+2
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

+2
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

+2
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

+2
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/modules/stdint_h_exports.compile.pass.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
// REQUIRES: modules-support
1818
// ADDITIONAL_COMPILE_FLAGS: -fmodules
1919

20+
// XFAIL: LIBCXX-WINDOWS-FIXME
21+
2022
#include <stdint.h>
2123

2224
int main(int, char**) {

libcxx/test/libcxx/selftest/dsl/dsl.sh.py

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

9+
# XFAIL: LIBCXX-WINDOWS-FIXME
10+
911
# Note: We prepend arguments with 'x' to avoid thinking there are too few
1012
# arguments in case an argument is an empty string.
1113
# RUN: %{python} %s x%S \

libcxx/test/std/depr/depr.c.headers/stdlib_h.pass.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
// test <stdlib.h>
1010

11+
// XFAIL: LIBCXX-WINDOWS-FIXME
12+
1113
#include <stdlib.h>
1214
#include <type_traits>
1315
#include <cassert>

libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/overflow.pass.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
// REQUIRES: locale.en_US.UTF-8
1010

11+
// XFAIL: LIBCXX-WINDOWS-FIXME
12+
1113
// <fstream>
1214

1315
// int_type overflow(int_type c = traits::eof());

libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/underflow.pass.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
// REQUIRES: locale.en_US.UTF-8
1010
// FILE_DEPENDENCIES: underflow.dat, underflow_utf8.dat
1111

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

1416
// int_type underflow();

libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/path.pass.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
// UNSUPPORTED: c++03
1010

11+
// XFAIL: LIBCXX-WINDOWS-FIXME
12+
1113
// <filesystem>
1214

1315
// class directory_entry

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

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
// UNSUPPORTED: c++03
1010

11+
// XFAIL: LIBCXX-WINDOWS-FIXME
12+
1113
// <filesystem>
1214

1315
// class directory_entry

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

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
// UNSUPPORTED: c++03
1010

11+
// XFAIL: LIBCXX-WINDOWS-FIXME
12+
1113
// <filesystem>
1214

1315
// class directory_entry

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

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
// UNSUPPORTED: c++03
1010

11+
// XFAIL: LIBCXX-WINDOWS-FIXME
12+
1113
// <filesystem>
1214

1315
// class directory_entry

libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_size.pass.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
// UNSUPPORTED: c++03
1010

11+
// XFAIL: LIBCXX-WINDOWS-FIXME
12+
1113
// <filesystem>
1214

1315
// class directory_entry

libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_type_obs.pass.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
// UNSUPPORTED: c++03
1010

11+
// XFAIL: LIBCXX-WINDOWS-FIXME
12+
1113
// <filesystem>
1214

1315
// class directory_entry

libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/hard_link_count.pass.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
// UNSUPPORTED: c++03
1010

11+
// XFAIL: LIBCXX-WINDOWS-FIXME
12+
1113
// <filesystem>
1214

1315
// class directory_entry

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

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
// UNSUPPORTED: c++03
1010

11+
// XFAIL: LIBCXX-WINDOWS-FIXME
12+
1113
// <filesystem>
1214

1315
// class directory_entry

libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/ctor.pass.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
// UNSUPPORTED: c++03
1010

11+
// XFAIL: LIBCXX-WINDOWS-FIXME
12+
1113
// <filesystem>
1214

1315
// class directory_iterator

libcxx/test/std/input.output/filesystems/class.path/path.member/path.append.pass.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
// These tests require locale for non-char paths
1212
// UNSUPPORTED: libcpp-has-no-localization
1313

14+
// XFAIL: LIBCXX-WINDOWS-FIXME
15+
1416
// <filesystem>
1517

1618
// class path

libcxx/test/std/input.output/filesystems/class.path/path.member/path.assign/move.pass.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
// UNSUPPORTED: c++03
1010

11+
// XFAIL: LIBCXX-WINDOWS-FIXME
12+
1113
// <filesystem>
1214

1315
// class path

libcxx/test/std/input.output/filesystems/class.path/path.member/path.concat.pass.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
// These tests require locale for non-char paths
1212
// UNSUPPORTED: libcpp-has-no-localization
1313

14+
// XFAIL: LIBCXX-WINDOWS-FIXME
15+
1416
// <filesystem>
1517

1618
// class path

libcxx/test/std/input.output/filesystems/class.path/path.member/path.construct/move.pass.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
// UNSUPPORTED: c++03
1010

11+
// XFAIL: LIBCXX-WINDOWS-FIXME
12+
1113
// <filesystem>
1214

1315
// class path

libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/ctor.pass.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
// UNSUPPORTED: c++03
1010

11+
// XFAIL: LIBCXX-WINDOWS-FIXME
12+
1113
// <filesystem>
1214

1315
// class directory_iterator

libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/increment.pass.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
// UNSUPPORTED: c++03
1010

11+
// XFAIL: LIBCXX-WINDOWS-FIXME
12+
1113
// <filesystem>
1214

1315
// class recursive_directory_iterator

libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/copy_file.pass.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
// UNSUPPORTED: c++03
1010

11+
// XFAIL: LIBCXX-WINDOWS-FIXME
12+
1113
// <filesystem>
1214

1315
// bool copy_file(const path& from, const path& to);

libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/create_directory_with_attributes.pass.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
// UNSUPPORTED: c++03
1010

11+
// XFAIL: LIBCXX-WINDOWS-FIXME
12+
1113
// This test requires the dylib support introduced in D92769.
1214
// XFAIL: with_system_cxx_lib=macosx10.15
1315

libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.exists/exists.pass.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
// UNSUPPORTED: c++03
1010

11+
// XFAIL: LIBCXX-WINDOWS-FIXME
12+
1113
// <filesystem>
1214

1315
// bool exists(file_status s) noexcept

libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_block_file/is_block_file.pass.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
// UNSUPPORTED: c++03
1010

11+
// XFAIL: LIBCXX-WINDOWS-FIXME
12+
1113
// <filesystem>
1214

1315
// bool is_block_file(file_status s) noexcept

libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_char_file/is_character_file.pass.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
// UNSUPPORTED: c++03
1010

11+
// XFAIL: LIBCXX-WINDOWS-FIXME
12+
1113
// <filesystem>
1214

1315
// bool is_character_file(file_status s) noexcept

libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_directory/is_directory.pass.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
// UNSUPPORTED: c++03
1010

11+
// XFAIL: LIBCXX-WINDOWS-FIXME
12+
1113
// <filesystem>
1214

1315
// bool is_directory(file_status s) noexcept

libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_empty/is_empty.pass.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
// UNSUPPORTED: c++03
1010

11+
// XFAIL: LIBCXX-WINDOWS-FIXME
12+
1113
// <filesystem>
1214

1315
// bool is_empty(path const& p);

libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_fifo/is_fifo.pass.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
// UNSUPPORTED: c++03
1010

11+
// XFAIL: LIBCXX-WINDOWS-FIXME
12+
1113
// <filesystem>
1214

1315
// bool is_fifo(file_status s) noexcept

libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_other/is_other.pass.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
// UNSUPPORTED: c++03
1010

11+
// XFAIL: LIBCXX-WINDOWS-FIXME
12+
1113
// <filesystem>
1214

1315
// bool is_other(file_status s) noexcept

libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_regular_file/is_regular_file.pass.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
// UNSUPPORTED: c++03
1010

11+
// XFAIL: LIBCXX-WINDOWS-FIXME
12+
1113
// <filesystem>
1214

1315
// bool is_regular_file(file_status s) noexcept

libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_socket/is_socket.pass.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
// UNSUPPORTED: c++03
1010

11+
// XFAIL: LIBCXX-WINDOWS-FIXME
12+
1113
// <filesystem>
1214

1315
// bool is_socket(file_status s) noexcept

libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_symlink/is_symlink.pass.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
// UNSUPPORTED: c++03
1010

11+
// XFAIL: LIBCXX-WINDOWS-FIXME
12+
1113
// <filesystem>
1214

1315
// bool is_symlink(file_status s) noexcept

libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.last_write_time/last_write_time.pass.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
// UNSUPPORTED: c++03
1010

11+
// XFAIL: LIBCXX-WINDOWS-FIXME
12+
1113
// <filesystem>
1214

1315
// file_time_type last_write_time(const path& p);

libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.permissions/permissions.pass.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
// UNSUPPORTED: c++03
1010

11+
// XFAIL: LIBCXX-WINDOWS-FIXME
12+
1113
// <filesystem>
1214

1315
// void permissions(const path& p, perms prms,

0 commit comments

Comments
 (0)