From: Michal Gorny Date: Fri, 6 Jan 2017 21:33:39 +0000 (+0000) Subject: [test] Remove unused 'test_examples' config var X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c56b5dc8d8994aacbb5900c9be95c901bf79f4ca;p=llvm [test] Remove unused 'test_examples' config var Remove config.test_examples from lit.site.cfg and the relevant ENABLE_EXAMPLES definition from CMake. It is not used anywhere. Differential Revision: https://reviews.llvm.org/D28283 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291283 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 635197bc9dd..06cf5be267a 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,7 +1,3 @@ -if(LLVM_BUILD_EXAMPLES) - set(ENABLE_EXAMPLES 1) -endif() - configure_lit_site_cfg( ${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.in ${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg diff --git a/test/lit.site.cfg.in b/test/lit.site.cfg.in index 95f00038bc7..a24d0db3655 100644 --- a/test/lit.site.cfg.in +++ b/test/lit.site.cfg.in @@ -38,7 +38,6 @@ config.have_zlib = "@HAVE_LIBZ@" config.have_libxar = "@HAVE_LIBXAR@" config.have_dia_sdk = @LLVM_ENABLE_DIA_SDK@ config.enable_ffi = "@LLVM_ENABLE_FFI@" -config.test_examples = "@ENABLE_EXAMPLES@" # Support substitution of the tools_dir with user parameters. This is # used when we can't determine the tool dir at configuration time.