about summary refs log tree commit diff homepage
path: root/test/lit.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'test/lit.cfg')
-rw-r--r--test/lit.cfg4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/lit.cfg b/test/lit.cfg
index 1dafa911..05dfd7f1 100644
--- a/test/lit.cfg
+++ b/test/lit.cfg
@@ -189,6 +189,10 @@ config.available_features.add('zlib' if config.enable_zlib else 'not-zlib')
 if config.enable_posix_runtime:
   config.available_features.add('posix-runtime')
 
+# LibC++ runtime feature
+if config.enable_libcxx:
+  config.available_features.add('{}libcxx'.format('' if config.enable_libcxx else 'not-'))
+
 # Target operating system features
 supported_targets = ['linux', 'darwin']
 for target in supported_targets: