]> granicus.if.org Git - llvm/commitdiff
[Kaleidoscope] Re-enable Kaleidoscope tests.
authorLang Hames <lhames@gmail.com>
Thu, 21 Feb 2019 22:24:53 +0000 (22:24 +0000)
committerLang Hames <lhames@gmail.com>
Thu, 21 Feb 2019 22:24:53 +0000 (22:24 +0000)
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@354630 91177308-0d34-0410-b5e6-96231b3b80d8

test/CMakeLists.txt
test/Examples/lit.local.cfg
test/lit.site.cfg.py.in

index e69ceebabe0da4938f4809d0dbce346d7d2ccb30..426dc7e46eaae2bffa11915931155f3fc7093d62 100644 (file)
@@ -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(
index 462e3dc5d11d48876f99054c04b24f324be11a08..69bc11ee6b957e16653e0eb3e2b2612755adb6a9 100644 (file)
@@ -1 +1,2 @@
-config.unsupported = True
+if not config.build_examples:
+  config.unsupported = True
\ No newline at end of file
index 62c90b7c66b8b17cc5be0feb09de91e910e6dee3..ada27ff6a77450eb0b29c999adba57789a5fa6a7 100644 (file)
@@ -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@