diff options
author | Frank Busse <bb0xfb@gmail.com> | 2018-10-03 14:17:28 +0100 |
---|---|---|
committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2018-10-10 18:58:09 +0100 |
commit | 44892ef160e9a6cb471ecbf100d45cfc5e65f8e6 (patch) | |
tree | e366f701e98aad928c402e3a12325c0bda0a8b01 /test/lit.cfg | |
parent | 4feadfd9a3049cbfe2f986dc96b69dbe10bbf2ed (diff) | |
download | klee-44892ef160e9a6cb471ecbf100d45cfc5e65f8e6.tar.gz |
cmake/lit: add asan/non-asan, ubsan/non-ubsan flags
Diffstat (limited to 'test/lit.cfg')
-rw-r--r-- | test/lit.cfg | 4 |
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-')) |