[llvm] r291283 - [test] Remove unused 'test_examples' config var
Michal Gorny via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 6 13:33:39 PST 2017
Author: mgorny
Date: Fri Jan 6 15:33:39 2017
New Revision: 291283
URL: http://llvm.org/viewvc/llvm-project?rev=291283&view=rev
Log:
[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
Modified:
llvm/trunk/test/CMakeLists.txt
llvm/trunk/test/lit.site.cfg.in
Modified: llvm/trunk/test/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CMakeLists.txt?rev=291283&r1=291282&r2=291283&view=diff
==============================================================================
--- llvm/trunk/test/CMakeLists.txt (original)
+++ llvm/trunk/test/CMakeLists.txt Fri Jan 6 15:33:39 2017
@@ -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
Modified: llvm/trunk/test/lit.site.cfg.in
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/lit.site.cfg.in?rev=291283&r1=291282&r2=291283&view=diff
==============================================================================
--- llvm/trunk/test/lit.site.cfg.in (original)
+++ llvm/trunk/test/lit.site.cfg.in Fri Jan 6 15:33:39 2017
@@ -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.
More information about the llvm-commits
mailing list