summaryrefslogtreecommitdiffstats
path: root/llvm/test/lit.cfg.py
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/lit.cfg.py')
-rw-r--r--llvm/test/lit.cfg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/lit.cfg.py b/llvm/test/lit.cfg.py
index 4200dd57dc4..0cd67655eb3 100644
--- a/llvm/test/lit.cfg.py
+++ b/llvm/test/lit.cfg.py
@@ -324,7 +324,7 @@ if config.have_libxar:
if config.enable_threads:
config.available_features.add('thread_support')
-if config.llvm_libxml2_enabled == '1':
+if config.llvm_libxml2_enabled:
config.available_features.add('libxml2')
if config.have_opt_viewer_modules:
OpenPOWER on IntegriCloud