diff options
author | Nico Weber <nicolasweber@gmx.de> | 2019-01-19 00:10:54 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2019-01-19 00:10:54 +0000 |
commit | 63fd07ce07bd700f009edd232db122d2aade895b (patch) | |
tree | 0da4f171b8f123d129bc9410ebcb5c00ad305720 /llvm/test/lit.cfg.py | |
parent | b166d7e72512d699fadd2a049dac2ba6a7af888e (diff) | |
download | bcm5719-llvm-63fd07ce07bd700f009edd232db122d2aade895b.tar.gz bcm5719-llvm-63fd07ce07bd700f009edd232db122d2aade895b.zip |
Use llvm_canonicalize_cmake_booleans for LLVM_LIBXML2_ENABLED [llvm]
r291284 added a nice mechanism to consistently pass CMake on/off toggles to
lit. This change uses it for LLVM_LIBXML2_ENABLED too (which was added around
the same time and doesn't use the new system yet).
Also alphabetically sort the list passed to llvm_canonicalize_cmake_booleans()
in llvm/test/CMakeLists.txt.
No intended behavior change.
Differential Revision: https://reviews.llvm.org/D56912
llvm-svn: 351615
Diffstat (limited to 'llvm/test/lit.cfg.py')
-rw-r--r-- | llvm/test/lit.cfg.py | 2 |
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: |