summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2019-02-21 22:24:53 +0000
committerLang Hames <lhames@gmail.com>2019-02-21 22:24:53 +0000
commitecfac6cd2ce0421a48c2e878e8efe745afd0b2e8 (patch)
treeaca0fe54a8a8d966f2c58eff51ead330a3f7f855
parent45eea20d2a8dbf2c5f383e8ae74e4b998057bdcc (diff)
downloadbcm5719-llvm-ecfac6cd2ce0421a48c2e878e8efe745afd0b2e8.tar.gz
bcm5719-llvm-ecfac6cd2ce0421a48c2e878e8efe745afd0b2e8.zip
[Kaleidoscope] Re-enable Kaleidoscope tests.
These were disabled in r246267 (back in 2015). I suspect that the Win32 issues that caused them to be disabled at the time have been resovlved, but if not we can disable them again while we sort those out. llvm-svn: 354630
-rw-r--r--llvm/test/CMakeLists.txt1
-rw-r--r--llvm/test/Examples/lit.local.cfg3
-rw-r--r--llvm/test/lit.site.cfg.py.in1
3 files changed, 4 insertions, 1 deletions
diff --git a/llvm/test/CMakeLists.txt b/llvm/test/CMakeLists.txt
index e69ceebabe0..426dc7e46ea 100644
--- a/llvm/test/CMakeLists.txt
+++ b/llvm/test/CMakeLists.txt
@@ -12,6 +12,7 @@ llvm_canonicalize_cmake_booleans(
LLVM_LINK_LLVM_DYLIB
LLVM_TOOL_LTO_BUILD
LLVM_USE_INTEL_JITEVENTS
+ LLVM_BUILD_EXAMPLES
)
configure_lit_site_cfg(
diff --git a/llvm/test/Examples/lit.local.cfg b/llvm/test/Examples/lit.local.cfg
index 462e3dc5d11..69bc11ee6b9 100644
--- a/llvm/test/Examples/lit.local.cfg
+++ b/llvm/test/Examples/lit.local.cfg
@@ -1 +1,2 @@
-config.unsupported = True
+if not config.build_examples:
+ config.unsupported = True \ No newline at end of file
diff --git a/llvm/test/lit.site.cfg.py.in b/llvm/test/lit.site.cfg.py.in
index 62c90b7c66b..ada27ff6a77 100644
--- a/llvm/test/lit.site.cfg.py.in
+++ b/llvm/test/lit.site.cfg.py.in
@@ -36,6 +36,7 @@ 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.build_examples = @LLVM_BUILD_EXAMPLES@
config.enable_threads = @LLVM_ENABLE_THREADS@
config.build_shared_libs = @BUILD_SHARED_LIBS@
config.link_llvm_dylib = @LLVM_LINK_LLVM_DYLIB@
OpenPOWER on IntegriCloud