summaryrefslogtreecommitdiffstats
path: root/libcxx/utils
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2019-03-20 14:34:00 +0000
committerLouis Dionne <ldionne@apple.com>2019-03-20 14:34:00 +0000
commitb38c08ac02460b5555b9d6c8468db4d58eb4ef9c (patch)
tree7220b919d3f303d8d9947e5c1e97d9031144a8f7 /libcxx/utils
parent7bb785cbc3b78a0a7aab8ee6e859625a85498e4d (diff)
downloadbcm5719-llvm-b38c08ac02460b5555b9d6c8468db4d58eb4ef9c.tar.gz
bcm5719-llvm-b38c08ac02460b5555b9d6c8468db4d58eb4ef9c.zip
[libc++] Mark <filesystem> tests as failing when the dylib doesn't support filesystem
This fixes CI for back-deployment testers on platforms that don't have <filesystem> support in the dylib. This is effectively half of https://reviews.llvm.org/D59224. The other half requires fixes in Clang. llvm-svn: 356558
Diffstat (limited to 'libcxx/utils')
-rw-r--r--libcxx/utils/libcxx/test/config.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcxx/utils/libcxx/test/config.py b/libcxx/utils/libcxx/test/config.py
index 2fead3a2f82..c78e18982ee 100644
--- a/libcxx/utils/libcxx/test/config.py
+++ b/libcxx/utils/libcxx/test/config.py
@@ -1151,6 +1151,10 @@ class Configuration(object):
self.config.available_features.add('dylib-has-no-bad_any_cast')
self.lit_config.note("throwing bad_any_cast is not supported by the deployment target")
+ # Filesystem is not supported on Apple platforms yet
+ if name == 'macosx':
+ self.config.available_features.add('dylib-has-no-filesystem')
+ self.lit_config.note("the deployment target does not support the dylib parts of <filesystem>")
else:
self.cxx.flags += ['-D_LIBCPP_DISABLE_AVAILABILITY']
OpenPOWER on IntegriCloud