# 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']