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 780973d7..56fb6fdd 100644
--- a/test/lit.cfg
+++ b/test/lit.cfg
@@ -189,3 +189,7 @@ for target in supported_targets:
     config.available_features.add(target)
   else:
     config.available_features.add('not-{}'.format(target))
+
+# Sanitizer
+config.available_features.add('{}asan'.format('' if config.have_asan else 'not-'))
+config.available_features.add('{}ubsan'.format('' if config.have_ubsan else 'not-'))