# Filesystem is supported on Apple platforms starting with macosx10.15. | |
# Automatically disable the <filesystem> tests when we're running the test | |
# suite against an older macOS. | |
too_old = {'10.9', '10.10', '10.11', '10.12', '10.13', '10.14'} | |
if any('with_system_cxx_lib=macosx{}'.format(v) in config.available_features for v in too_old): | |
config.unsupported = True | |
if 'libcpp-has-no-filesystem-library' in config.available_features: | |
config.unsupported = True |