diff options
author | Brian Cain <bcain@codeaurora.org> | 2017-09-08 03:57:02 +0000 |
---|---|---|
committer | Brian Cain <bcain@codeaurora.org> | 2017-09-08 03:57:02 +0000 |
commit | 086b6682dd34877c1454cf35462f5e1adc45d8e6 (patch) | |
tree | 7901ca9815593a8548b6f17d0c9bd7dc89e6ab48 /libcxx/utils | |
parent | 99ba97726ac68dd3ff134a63ca815462069aafe3 (diff) | |
download | bcm5719-llvm-086b6682dd34877c1454cf35462f5e1adc45d8e6.tar.gz bcm5719-llvm-086b6682dd34877c1454cf35462f5e1adc45d8e6.zip |
XFAIL tests on SLES11
XFAIL some failing tests for SLES11 (older glibc), also replace spaces
in linux distro w/dashes.
llvm-svn: 312774
Diffstat (limited to 'libcxx/utils')
-rw-r--r-- | libcxx/utils/libcxx/test/target_info.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libcxx/utils/libcxx/test/target_info.py b/libcxx/utils/libcxx/test/target_info.py index e6fde900cf7..670aea7ae63 100644 --- a/libcxx/utils/libcxx/test/target_info.py +++ b/libcxx/utils/libcxx/test/target_info.py @@ -190,12 +190,14 @@ class LinuxLocalTI(DefaultTargetInfo): 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): |