XFAIL tests on SLES11
XFAIL some failing tests for SLES11 (older glibc), also replace spaces in linux distro w/dashes. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@312774 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -7,6 +7,7 @@
|
|||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
//
|
//
|
||||||
|
// XFAIL: suse-linux-enterprise-server-11
|
||||||
// XFAIL: apple-darwin
|
// XFAIL: apple-darwin
|
||||||
// XFAIL: newlib
|
// XFAIL: newlib
|
||||||
|
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
|
// XFAIL: suse-linux-enterprise-server-11
|
||||||
// XFAIL: with_system_cxx_lib=macosx10.12
|
// XFAIL: with_system_cxx_lib=macosx10.12
|
||||||
// XFAIL: with_system_cxx_lib=macosx10.11
|
// XFAIL: with_system_cxx_lib=macosx10.11
|
||||||
// XFAIL: with_system_cxx_lib=macosx10.10
|
// XFAIL: with_system_cxx_lib=macosx10.10
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
|
|
||||||
// const error_category& system_category();
|
// const error_category& system_category();
|
||||||
|
|
||||||
|
// XFAIL: suse-linux-enterprise-server-11
|
||||||
// XFAIL: with_system_cxx_lib=macosx10.12
|
// XFAIL: with_system_cxx_lib=macosx10.12
|
||||||
// XFAIL: with_system_cxx_lib=macosx10.11
|
// XFAIL: with_system_cxx_lib=macosx10.11
|
||||||
// XFAIL: with_system_cxx_lib=macosx10.10
|
// XFAIL: with_system_cxx_lib=macosx10.10
|
||||||
|
|||||||
@@ -190,12 +190,14 @@ class LinuxLocalTI(DefaultTargetInfo):
|
|||||||
|
|
||||||
def platform_name(self):
|
def platform_name(self):
|
||||||
name, _, _ = platform.linux_distribution()
|
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
|
return name # Permitted to be None
|
||||||
|
|
||||||
def platform_ver(self):
|
def platform_ver(self):
|
||||||
_, ver, _ = platform.linux_distribution()
|
_, ver, _ = platform.linux_distribution()
|
||||||
ver = ver.lower().strip()
|
ver = ver.lower().strip().replace(' ', '-')
|
||||||
return ver # Permitted to be None.
|
return ver # Permitted to be None.
|
||||||
|
|
||||||
def add_locale_features(self, features):
|
def add_locale_features(self, features):
|
||||||
|
|||||||
Reference in New Issue
Block a user