[PATCH] D35802: XFAIL tests on SLES11
Brian Cain via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 1 19:25:27 PDT 2017
bcain updated this revision to Diff 113636.
bcain added a comment.
Updated per review comments.
Repository:
rL LLVM
https://reviews.llvm.org/D35802
Files:
test/std/depr/depr.c.headers/uchar_h.pass.cpp
test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/generic_category.pass.cpp
test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/system_category.pass.cpp
utils/libcxx/test/target_info.py
Index: utils/libcxx/test/target_info.py
===================================================================
--- utils/libcxx/test/target_info.py
+++ utils/libcxx/test/target_info.py
@@ -190,12 +190,14 @@
def platform_name(self):
name, _, _ = platform.linux_distribution()
- name = name.lower().strip()
+ # Some distros have spaces, e.g. 'SUSE Linux Enterprise Server'
+ # lit features can't have spaces
+ name = name.lower().strip().replace(' ', '-')
return name # Permitted to be None
def platform_ver(self):
_, ver, _ = platform.linux_distribution()
- ver = ver.lower().strip()
+ ver = ver.lower().strip().replace(' ', '-')
return ver # Permitted to be None.
def add_locale_features(self, features):
Index: test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/system_category.pass.cpp
===================================================================
--- test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/system_category.pass.cpp
+++ test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/system_category.pass.cpp
@@ -13,6 +13,7 @@
// const error_category& system_category();
+// XFAIL: suse-linux-enterprise-server-11
// XFAIL: with_system_cxx_lib=macosx10.12
// XFAIL: with_system_cxx_lib=macosx10.11
// XFAIL: with_system_cxx_lib=macosx10.10
Index: test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/generic_category.pass.cpp
===================================================================
--- test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/generic_category.pass.cpp
+++ test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/generic_category.pass.cpp
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+// XFAIL: suse-linux-enterprise-server-11
// XFAIL: with_system_cxx_lib=macosx10.12
// XFAIL: with_system_cxx_lib=macosx10.11
// XFAIL: with_system_cxx_lib=macosx10.10
Index: test/std/depr/depr.c.headers/uchar_h.pass.cpp
===================================================================
--- test/std/depr/depr.c.headers/uchar_h.pass.cpp
+++ test/std/depr/depr.c.headers/uchar_h.pass.cpp
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
//
+// XFAIL: suse-linux-enterprise-server-11
// XFAIL: apple-darwin
// XFAIL: newlib
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35802.113636.patch
Type: text/x-patch
Size: 2433 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170902/f0315b93/attachment.bin>
More information about the llvm-commits
mailing list