diff options
author | Frank Busse <bb0xfb@gmail.com> | 2018-10-12 11:53:28 +0100 |
---|---|---|
committer | MartinNowack <martin.nowack@gmail.com> | 2018-10-17 09:21:19 +0100 |
commit | 916b72a7955cbb06d1a10640f8c6daea14da523e (patch) | |
tree | b425e4ba0fe9a8b6f4ecc41bc36af4a1eb01577b /test | |
parent | 9d730c318aa77593d2cb6898c0b530dbec14f045 (diff) | |
download | klee-916b72a7955cbb06d1a10640f8c6daea14da523e.tar.gz |
tests: disable CompressedExprLogging on zlib-less systems
Diffstat (limited to 'test')
-rw-r--r-- | test/Feature/CompressedExprLogging.c | 1 | ||||
-rw-r--r-- | test/lit.cfg | 3 | ||||
-rw-r--r-- | test/lit.site.cfg.in | 1 |
3 files changed, 5 insertions, 0 deletions
diff --git a/test/Feature/CompressedExprLogging.c b/test/Feature/CompressedExprLogging.c index ba20428d..4813190d 100644 --- a/test/Feature/CompressedExprLogging.c +++ b/test/Feature/CompressedExprLogging.c @@ -1,3 +1,4 @@ +// REQUIRES: zlib // RUN: %llvmgcc %s -emit-llvm -g -O0 -c -o %t1.bc // We disable the cex-cache to eliminate nondeterminism across different // solvers, in particular when counting the number of queries in the last two diff --git a/test/lit.cfg b/test/lit.cfg index 56fb6fdd..0bbadafb 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -178,6 +178,9 @@ if config.enable_z3: else: config.available_features.add('not-z3') +# Zlib +config.available_features.add('zlib' if config.enable_zlib else 'not-zlib') + # POSIX runtime feature if config.enable_posix_runtime: config.available_features.add('posix-runtime') diff --git a/test/lit.site.cfg.in b/test/lit.site.cfg.in index cea7ad26..9ef21489 100644 --- a/test/lit.site.cfg.in +++ b/test/lit.site.cfg.in @@ -27,6 +27,7 @@ config.enable_posix_runtime = True if @ENABLE_POSIX_RUNTIME@ == 1 else False config.have_selinux = True if @HAVE_SELINUX@ == 1 else False config.enable_stp = True if @ENABLE_STP@ == 1 else False config.enable_z3 = True if @ENABLE_Z3@ == 1 else False +config.enable_zlib = True if @HAVE_ZLIB_H@ == 1 else False config.have_asan = True if @IS_ASAN_BUILD@ == 1 else False config.have_ubsan = True if @IS_UBSAN_BUILD@ == 1 else False |