Enable testing C++ coroutines TS.
Test: ./run_tests.py --bitness 32 Test: ./run_tests.py --bitness 64 Test: ./run_tests.py --bitness 64 --host Bug: None Change-Id: I620c999b6c156129257d3937b0893f45a6d3fddd
This commit is contained in:
@@ -179,6 +179,7 @@ cc_binary {
|
|||||||
cppflags: [
|
cppflags: [
|
||||||
"-fsized-deallocation",
|
"-fsized-deallocation",
|
||||||
"-fexceptions",
|
"-fexceptions",
|
||||||
|
"-fcoroutines-ts",
|
||||||
"-Wno-format-zero-length",
|
"-Wno-format-zero-length",
|
||||||
"-Wno-implicit-fallthrough",
|
"-Wno-implicit-fallthrough",
|
||||||
"-Wno-non-virtual-dtor",
|
"-Wno-non-virtual-dtor",
|
||||||
|
|||||||
@@ -107,6 +107,7 @@ class Configuration(libcxx.test.config.Configuration):
|
|||||||
self.config.available_features.add('c++experimental')
|
self.config.available_features.add('c++experimental')
|
||||||
self.config.available_features.add('c++fs')
|
self.config.available_features.add('c++fs')
|
||||||
self.config.available_features.add('c++filesystem')
|
self.config.available_features.add('c++filesystem')
|
||||||
|
self.config.available_features.add('fcoroutines-ts')
|
||||||
std_pattern = re.compile(r'-std=(c\+\+\d[0-9x-z])')
|
std_pattern = re.compile(r'-std=(c\+\+\d[0-9x-z])')
|
||||||
match = std_pattern.search(self.cxx.cxx_template)
|
match = std_pattern.search(self.cxx.cxx_template)
|
||||||
if match:
|
if match:
|
||||||
|
|||||||
Reference in New Issue
Block a user