summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorMichal Gorny <mgorny@gentoo.org>2017-01-06 21:33:39 +0000
committerMichal Gorny <mgorny@gentoo.org>2017-01-06 21:33:39 +0000
commit82eb45a6f8825eda6e1106501495f5b2694b0e49 (patch)
treea30e295b0f60e112412230e4a6146826485fb316 /llvm/test
parent8c0e62f507e2988ff54f6f909f5719c0e8fdb041 (diff)
downloadbcm5719-llvm-82eb45a6f8825eda6e1106501495f5b2694b0e49.tar.gz
bcm5719-llvm-82eb45a6f8825eda6e1106501495f5b2694b0e49.zip
[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 llvm-svn: 291283
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CMakeLists.txt4
-rw-r--r--llvm/test/lit.site.cfg.in1
2 files changed, 0 insertions, 5 deletions
diff --git a/llvm/test/CMakeLists.txt b/llvm/test/CMakeLists.txt
index 635197bc9dd..06cf5be267a 100644
--- a/llvm/test/CMakeLists.txt
+++ b/llvm/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/llvm/test/lit.site.cfg.in b/llvm/test/lit.site.cfg.in
index 95f00038bc7..a24d0db3655 100644
--- a/llvm/test/lit.site.cfg.in
+++ b/llvm/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.
OpenPOWER on IntegriCloud