From 10a0bef720b6882fce588a10b07b0584d62eac76 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Tue, 30 May 2017 17:37:59 +0000 Subject: Vendor import of libc++ trunk r304222: https://llvm.org/svn/llvm-project/libcxx/trunk@304222 --- .../language.support/support.coroutines/lit.local.cfg | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/std/experimental/language.support/support.coroutines/lit.local.cfg (limited to 'test/std/experimental/language.support/support.coroutines/lit.local.cfg') diff --git a/test/std/experimental/language.support/support.coroutines/lit.local.cfg b/test/std/experimental/language.support/support.coroutines/lit.local.cfg new file mode 100644 index 000000000000..a0b3de8afaa3 --- /dev/null +++ b/test/std/experimental/language.support/support.coroutines/lit.local.cfg @@ -0,0 +1,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'] -- cgit v1.2.3