summaryrefslogtreecommitdiff
path: root/test/lit.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'test/lit.cfg')
-rw-r--r--test/lit.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/lit.cfg b/test/lit.cfg
index ea91f45754..b423c6e80b 100644
--- a/test/lit.cfg
+++ b/test/lit.cfg
@@ -268,6 +268,9 @@ if (config.llvm_use_sanitizer == "Memory" or
if not 'hexagon' in config.target_triple:
config.available_features.add("object-emission")
+if config.have_zlib == "1":
+ config.available_features.add("zlib")
+
# llc knows whether he is compiled with -DNDEBUG.
import subprocess
try: