Skip to content

Commit 7ec6c62

Browse files
committed
[libc++] Add FreeBSD XFAILs in preparation for CI
This at least allows us to stand up libc++ FreeBSD CI and avoid future regressions. The failures do need to be addressed, and can be done iteratively. Reviewed By: philnik, Mordante Differential Revision: https://reviews.llvm.org/D141542
1 parent f97cdc0 commit 7ec6c62

File tree

40 files changed

+76
-1
lines changed

40 files changed

+76
-1
lines changed

libcxx/test/libcxx/modules_include.sh.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
// The system-provided <uchar.h> seems to be broken on AIX
1414
// XFAIL: LIBCXX-AIX-FIXME
1515

16+
// XFAIL: LIBCXX-FREEBSD-FIXME
17+
1618
// GCC doesn't support -fcxx-modules
1719
// UNSUPPORTED: gcc
1820

libcxx/test/libcxx/selftest/remote-substitutions.sh.cpp

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

9+
// XFAIL: LIBCXX-FREEBSD-FIXME
10+
911
// Make sure that test-executables can appear in RUN lines and be executed
1012
// effectively. This somewhat difficult-to-understand test checks that when
1113
// we run with a remote executor, test-executables are copied to the remote

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

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

9+
// XFAIL: LIBCXX-FREEBSD-FIXME
10+
911
// UNSUPPORTED: c++03
1012

1113
// <filesystem>

libcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_zh_CN.pass.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
// XFAIL: netbsd
1111

1212
// XFAIL: LIBCXX-AIX-FIXME
13+
// XFAIL: LIBCXX-FREEBSD-FIXME
1314

1415
// REQUIRES: locale.zh_CN.UTF-8
1516

libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_zh_CN.pass.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
// XFAIL: netbsd
1111

1212
// XFAIL: LIBCXX-AIX-FIXME
13+
// XFAIL: LIBCXX-FREEBSD-FIXME
1314

1415
// REQUIRES: locale.zh_CN.UTF-8
1516

libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/grouping.pass.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
// NetBSD does not support LC_MONETARY at the moment
1212
// XFAIL: netbsd
1313

14+
// XFAIL: LIBCXX-FREEBSD-FIXME
15+
1416
// REQUIRES: locale.en_US.UTF-8
1517
// REQUIRES: locale.fr_FR.UTF-8
1618
// REQUIRES: locale.ru_RU.UTF-8

libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/neg_format.pass.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
// NetBSD does not support LC_MONETARY at the moment
1010
// XFAIL: netbsd
1111

12+
// XFAIL: LIBCXX-FREEBSD-FIXME
13+
1214
// REQUIRES: locale.en_US.UTF-8
1315
// REQUIRES: locale.fr_FR.UTF-8
1416
// REQUIRES: locale.ru_RU.UTF-8

libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/pos_format.pass.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
// NetBSD does not support LC_MONETARY at the moment
1010
// XFAIL: netbsd
1111

12+
// XFAIL: LIBCXX-FREEBSD-FIXME
13+
1214
// REQUIRES: locale.en_US.UTF-8
1315
// REQUIRES: locale.fr_FR.UTF-8
1416
// REQUIRES: locale.ru_RU.UTF-8

libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/thousands_sep.pass.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
// NetBSD does not support LC_MONETARY at the moment
1010
// XFAIL: netbsd
1111

12+
// XFAIL: LIBCXX-FREEBSD-FIXME
13+
1214
// REQUIRES: locale.en_US.UTF-8
1315
// REQUIRES: locale.fr_FR.UTF-8
1416
// REQUIRES: locale.ru_RU.UTF-8

libcxx/test/std/localization/locale.categories/category.time/locale.time.get.byname/get_monthname.pass.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
// REQUIRES: locale.fr_FR.UTF-8
1111
// REQUIRES: locale.zh_CN.UTF-8
1212

13+
// XFAIL: LIBCXX-FREEBSD-FIXME
14+
1315
// <locale>
1416

1517
// class time_get_byname<charT, InputIterator>

libcxx/test/std/localization/locale.categories/category.time/locale.time.get.byname/get_monthname_wide.pass.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
// REQUIRES: locale.zh_CN.UTF-8
1212
// XFAIL: no-wide-characters
1313

14+
// XFAIL: LIBCXX-FREEBSD-FIXME
15+
1416
// <locale>
1517

1618
// class time_get_byname<charT, InputIterator>

libcxx/test/std/localization/locale.categories/category.time/locale.time.get.byname/get_one.pass.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
// NetBSD does not support LC_TIME at the moment
1010
// XFAIL: netbsd
1111

12+
// XFAIL: LIBCXX-FREEBSD-FIXME
13+
1214
// REQUIRES: locale.en_US.UTF-8
1315
// REQUIRES: locale.fr_FR.UTF-8
1416
// REQUIRES: locale.ru_RU.UTF-8

libcxx/test/std/localization/locale.categories/category.time/locale.time.get.byname/get_one_wide.pass.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
// NetBSD does not support LC_TIME at the moment
1010
// XFAIL: netbsd
1111

12+
// XFAIL: LIBCXX-FREEBSD-FIXME
13+
1214
// XFAIL: no-wide-characters
1315

1416
// REQUIRES: locale.en_US.UTF-8

libcxx/test/std/localization/locale.categories/category.time/locale.time.put.byname/put1.pass.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
// NetBSD does not support LC_TIME at the moment
1010
// XFAIL: netbsd
1111

12+
// XFAIL: LIBCXX-FREEBSD-FIXME
13+
1214
// REQUIRES: locale.en_US.UTF-8
1315
// REQUIRES: locale.fr_FR.UTF-8
1416
// REQUIRES: locale.ja_JP.UTF-8

libcxx/test/std/localization/locale.categories/facet.numpunct/locale.numpunct.byname/grouping.pass.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
// XFAIL: netbsd
1111

1212
// XFAIL: LIBCXX-AIX-FIXME
13+
// XFAIL: LIBCXX-FREEBSD-FIXME
1314

1415
// REQUIRES: locale.en_US.UTF-8
1516
// REQUIRES: locale.fr_FR.UTF-8

libcxx/test/std/localization/locale.categories/facet.numpunct/locale.numpunct.byname/thousands_sep.pass.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
// XFAIL: netbsd
1111

1212
// XFAIL: LIBCXX-AIX-FIXME
13+
// XFAIL: LIBCXX-FREEBSD-FIXME
1314

1415
// REQUIRES: locale.en_US.UTF-8
1516
// REQUIRES: locale.fr_FR.UTF-8

libcxx/test/std/re/re.traits/lookup_collatename.pass.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
//
99
// NetBSD does not support LC_COLLATE at the moment
1010
// XFAIL: netbsd
11+
1112
// XFAIL: LIBCXX-AIX-FIXME
13+
// XFAIL: LIBCXX-FREEBSD-FIXME
1214

1315
// REQUIRES: locale.cs_CZ.ISO8859-2
1416

libcxx/test/std/re/re.traits/transform_primary.pass.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
//
99
// NetBSD does not support LC_COLLATE at the moment
1010
// XFAIL: netbsd
11+
1112
// XFAIL: LIBCXX-AIX-FIXME
13+
// XFAIL: LIBCXX-FREEBSD-FIXME
1214

1315
// REQUIRES: locale.cs_CZ.ISO8859-2
1416

libcxx/test/std/time/time.cal/time.cal.mdlast/ostream.pass.cpp

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

9+
// XFAIL: LIBCXX-FREEBSD-FIXME
10+
911
// UNSUPPORTED: c++03, c++11, c++14, c++17
1012
// UNSUPPORTED: no-localization
1113
// UNSUPPORTED: libcpp-has-no-incomplete-format

libcxx/test/std/time/time.cal/time.cal.month/time.cal.month.nonmembers/ostream.pass.cpp

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

9+
// XFAIL: LIBCXX-FREEBSD-FIXME
10+
911
// UNSUPPORTED: c++03, c++11, c++14, c++17
1012
// UNSUPPORTED: no-localization
1113
// UNSUPPORTED: libcpp-has-no-incomplete-format

libcxx/test/std/time/time.cal/time.cal.mwd/time.cal.mwd.nonmembers/ostream.pass.cpp

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

9+
// XFAIL: LIBCXX-FREEBSD-FIXME
10+
911
// UNSUPPORTED: c++03, c++11, c++14, c++17
1012
// UNSUPPORTED: no-localization
1113
// UNSUPPORTED: libcpp-has-no-incomplete-format

libcxx/test/std/time/time.cal/time.cal.mwdlast/time.cal.mwdlast.nonmembers/ostream.pass.cpp

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

9+
// XFAIL: LIBCXX-FREEBSD-FIXME
10+
911
// UNSUPPORTED: c++03, c++11, c++14, c++17
1012
// UNSUPPORTED: no-localization
1113
// UNSUPPORTED: libcpp-has-no-incomplete-format

libcxx/test/std/time/time.cal/time.cal.ym/time.cal.ym.nonmembers/ostream.pass.cpp

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

9+
// XFAIL: LIBCXX-FREEBSD-FIXME
10+
911
// UNSUPPORTED: c++03, c++11, c++14, c++17
1012
// UNSUPPORTED: no-localization
1113
// UNSUPPORTED: libcpp-has-no-incomplete-format

libcxx/test/std/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.nonmembers/ostream.pass.cpp

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

9+
// XFAIL: LIBCXX-FREEBSD-FIXME
10+
911
// UNSUPPORTED: c++03, c++11, c++14, c++17
1012
// UNSUPPORTED: no-localization
1113
// UNSUPPORTED: libcpp-has-no-incomplete-format

libcxx/test/std/time/time.syn/formatter.day.pass.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
//
66
//===----------------------------------------------------------------------===//
77

8+
// XFAIL: LIBCXX-FREEBSD-FIXME
9+
810
// UNSUPPORTED: c++03, c++11, c++14, c++17
911
// UNSUPPORTED: no-localization
1012
// UNSUPPORTED: libcpp-has-no-incomplete-format

libcxx/test/std/time/time.syn/formatter.duration.pass.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
//
66
//===----------------------------------------------------------------------===//
77

8+
// XFAIL: LIBCXX-FREEBSD-FIXME
9+
810
// UNSUPPORTED: c++03, c++11, c++14, c++17
911
// UNSUPPORTED: no-localization
1012
// UNSUPPORTED: libcpp-has-no-incomplete-format

libcxx/test/std/time/time.syn/formatter.month.pass.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
//
66
//===----------------------------------------------------------------------===//
77

8+
// XFAIL: LIBCXX-FREEBSD-FIXME
9+
810
// UNSUPPORTED: c++03, c++11, c++14, c++17
911
// UNSUPPORTED: no-localization
1012
// UNSUPPORTED: libcpp-has-no-incomplete-format

libcxx/test/std/time/time.syn/formatter.month_day.pass.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
//
66
//===----------------------------------------------------------------------===//
77

8+
// XFAIL: LIBCXX-FREEBSD-FIXME
9+
810
// UNSUPPORTED: c++03, c++11, c++14, c++17
911
// UNSUPPORTED: no-localization
1012
// UNSUPPORTED: libcpp-has-no-incomplete-format

libcxx/test/std/time/time.syn/formatter.month_day_last.pass.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
//
66
//===----------------------------------------------------------------------===//
77

8+
// XFAIL: LIBCXX-FREEBSD-FIXME
9+
810
// UNSUPPORTED: c++03, c++11, c++14, c++17
911
// UNSUPPORTED: no-localization
1012
// UNSUPPORTED: libcpp-has-no-incomplete-format

libcxx/test/std/time/time.syn/formatter.month_weekday.pass.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
//
66
//===----------------------------------------------------------------------===//
77

8+
// XFAIL: LIBCXX-FREEBSD-FIXME
9+
810
// UNSUPPORTED: c++03, c++11, c++14, c++17
911
// UNSUPPORTED: no-localization
1012
// UNSUPPORTED: libcpp-has-no-incomplete-format

libcxx/test/std/time/time.syn/formatter.weekday.pass.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
//
66
//===----------------------------------------------------------------------===//
77

8+
// XFAIL: LIBCXX-FREEBSD-FIXME
9+
810
// UNSUPPORTED: c++03, c++11, c++14, c++17
911
// UNSUPPORTED: no-localization
1012
// UNSUPPORTED: libcpp-has-no-incomplete-format

libcxx/test/std/time/time.syn/formatter.weekday_index.pass.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
//
66
//===----------------------------------------------------------------------===//
77

8+
// XFAIL: LIBCXX-FREEBSD-FIXME
9+
810
// UNSUPPORTED: c++03, c++11, c++14, c++17
911
// UNSUPPORTED: no-localization
1012
// UNSUPPORTED: libcpp-has-no-incomplete-format

libcxx/test/std/time/time.syn/formatter.weekday_last.pass.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
//
66
//===----------------------------------------------------------------------===//
77

8+
// XFAIL: LIBCXX-FREEBSD-FIXME
9+
810
// UNSUPPORTED: c++03, c++11, c++14, c++17
911
// UNSUPPORTED: no-localization
1012
// UNSUPPORTED: libcpp-has-no-incomplete-format

libcxx/test/std/time/time.syn/formatter.year.pass.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
//
66
//===----------------------------------------------------------------------===//
77

8+
// XFAIL: LIBCXX-FREEBSD-FIXME
9+
810
// UNSUPPORTED: c++03, c++11, c++14, c++17
911
// UNSUPPORTED: no-localization
1012
// UNSUPPORTED: libcpp-has-no-incomplete-format

libcxx/test/std/time/time.syn/formatter.year_month.pass.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
//
66
//===----------------------------------------------------------------------===//
77

8+
// XFAIL: LIBCXX-FREEBSD-FIXME
9+
810
// UNSUPPORTED: c++03, c++11, c++14, c++17
911
// UNSUPPORTED: no-localization
1012
// UNSUPPORTED: libcpp-has-no-incomplete-format

libcxx/test/std/time/time.syn/formatter.year_month_day.pass.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
//
66
//===----------------------------------------------------------------------===//
77

8+
// XFAIL: LIBCXX-FREEBSD-FIXME
9+
810
// UNSUPPORTED: c++03, c++11, c++14, c++17
911
// UNSUPPORTED: no-localization
1012
// UNSUPPORTED: libcpp-has-no-incomplete-format

libcxx/test/std/time/time.syn/formatter.year_month_day_last.pass.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
//
66
//===----------------------------------------------------------------------===//
77

8+
// XFAIL: LIBCXX-FREEBSD-FIXME
9+
810
// UNSUPPORTED: c++03, c++11, c++14, c++17
911
// UNSUPPORTED: no-localization
1012
// UNSUPPORTED: libcpp-has-no-incomplete-format

libcxx/test/std/time/time.syn/formatter.year_month_weekday.pass.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
//
66
//===----------------------------------------------------------------------===//
77

8+
// XFAIL: LIBCXX-FREEBSD-FIXME
9+
810
// UNSUPPORTED: c++03, c++11, c++14, c++17
911
// UNSUPPORTED: no-localization
1012
// UNSUPPORTED: libcpp-has-no-incomplete-format

libcxx/utils/libcxx/test/features.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,8 @@ def _getSuitableClangTidy(cfg):
277277
"""), actions=[AddCompileFlag('-DTEST_WINDOWS_DLL')]),
278278
Feature(name='linux', when=lambda cfg: '__linux__' in compilerMacros(cfg)),
279279
Feature(name='netbsd', when=lambda cfg: '__NetBSD__' in compilerMacros(cfg)),
280-
Feature(name='freebsd', when=lambda cfg: '__FreeBSD__' in compilerMacros(cfg))
280+
Feature(name='freebsd', when=lambda cfg: '__FreeBSD__' in compilerMacros(cfg)),
281+
Feature(name='LIBCXX-FREEBSD-FIXME', when=lambda cfg: '__FreeBSD__' in compilerMacros(cfg)),
281282
]
282283

283284
# Add features representing the build host platform name.

libcxxabi/test/thread_local_destruction_order.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
// UNSUPPORTED: no-threads
1111

12+
// XFAIL: LIBCXX-FREEBSD-FIXME
13+
1214
#include <cassert>
1315
#include <thread>
1416

0 commit comments

Comments
 (0)