summaryrefslogtreecommitdiffstats
path: root/libcxx/utils
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/utils')
-rw-r--r--libcxx/utils/libcxx/test/config.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/libcxx/utils/libcxx/test/config.py b/libcxx/utils/libcxx/test/config.py
index c78e18982ee..cac4d7c91b5 100644
--- a/libcxx/utils/libcxx/test/config.py
+++ b/libcxx/utils/libcxx/test/config.py
@@ -435,6 +435,9 @@ class Configuration(object):
if self.long_tests:
self.config.available_features.add('long_tests')
+ if not self.get_lit_bool('enable_filesystem', default=True):
+ self.config.available_features.add('c++filesystem-disabled')
+
# Run a compile test for the -fsized-deallocation flag. This is needed
# in test/std/language.support/support.dynamic/new.delete
if self.cxx.hasCompileFlag('-fsized-deallocation'):
OpenPOWER on IntegriCloud