From 3f4fe8f4bd0ef5c70a9c91fe3f3e17ff158df130 Mon Sep 17 00:00:00 2001 From: Eric Beckmann Date: Wed, 26 Jul 2017 16:35:44 +0000 Subject: Correctly enable the llvm-mt tests, now that build flags changed. llvm-svn: 309134 --- llvm/test/lit.cfg | 2 +- llvm/test/lit.site.cfg.in | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'llvm') diff --git a/llvm/test/lit.cfg b/llvm/test/lit.cfg index 1cb8896e0a5..fb5005e2998 100644 --- a/llvm/test/lit.cfg +++ b/llvm/test/lit.cfg @@ -553,5 +553,5 @@ if config.have_libxar: if config.enable_abi_breaking_checks == "1": config.available_features.add('abi-breaking-checks') -if config.llvm_disable_libxml2 == "OFF" and config.have_libxml2 == "TRUE": +if config.llvm_libxml2_enabled == "1": config.available_features.add('libxml2') diff --git a/llvm/test/lit.site.cfg.in b/llvm/test/lit.site.cfg.in index 67683d793aa..6de225ecc58 100644 --- a/llvm/test/lit.site.cfg.in +++ b/llvm/test/lit.site.cfg.in @@ -40,8 +40,7 @@ config.have_libxar = @HAVE_LIBXAR@ config.have_dia_sdk = @LLVM_ENABLE_DIA_SDK@ config.enable_ffi = @LLVM_ENABLE_FFI@ config.build_shared_libs = @BUILD_SHARED_LIBS@ -config.llvm_disable_libxml2 = "@LLVM_DISABLE_LIBXML2@" -config.have_libxml2 = "@LIBXML2_FOUND@" +config.llvm_libxml2_enabled = "@LLVM_LIBXML2_ENABLED@" # Support substitution of the tools_dir with user parameters. This is # used when we can't determine the tool dir at configuration time. -- cgit v1.2.3