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