aboutsummaryrefslogtreecommitdiffstats
path: root/test/std/experimental/language.support/support.coroutines/lit.local.cfg
blob: a0b3de8afaa39b571d59c9bb664e7a9343d72276 (plain) (blame)
1
2
3
4
5
6
7
8
9
# If the compiler doesn't support coroutines mark all of the tests under
# this directory as unsupported. Otherwise add the required `-fcoroutines-ts`
# flag.
if 'fcoroutines-ts' not in config.available_features:
  config.unsupported = True
else:
  import copy
  config.test_format.cxx = copy.deepcopy(config.test_format.cxx)
  config.test_format.cxx.compile_flags += ['-fcoroutines-ts']