Louis Dionne c360553c15 [runtimes] Simplify how we specify XFAIL & friends based on the triple
Now that Lit supports regular expressions inside XFAIL & friends, it is
much easier to write Lit annotations based on the triple.

Differential Revision: https://reviews.llvm.org/D104747
2021-07-01 14:03:30 -04:00

11 lines
524 B
INI

# 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 'use_system_cxx_lib' in config.available_features:
if any('target=x86_64-apple-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