1# Filesystem is supported on Apple platforms starting with macosx10.15.
2# Automatically disable the <filesystem> tests when we're running the test
3# suite against an older macOS.
4too_old = {'10.9', '10.10', '10.11', '10.12', '10.13', '10.14'}
5if 'use_system_cxx_lib' in config.available_features:
6  if any('target=x86_64-apple-macosx{}'.format(v) in config.available_features for v in too_old):
7    config.unsupported = True
8
9if 'libcpp-has-no-filesystem-library' in config.available_features:
10    config.unsupported = True
11