[llvm] r354630 - [Kaleidoscope] Re-enable Kaleidoscope tests.

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 21 14:24:53 PST 2019


Author: lhames
Date: Thu Feb 21 14:24:53 2019
New Revision: 354630

URL: http://llvm.org/viewvc/llvm-project?rev=354630&view=rev
Log:
[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.

Modified:
    llvm/trunk/test/CMakeLists.txt
    llvm/trunk/test/Examples/lit.local.cfg
    llvm/trunk/test/lit.site.cfg.py.in

Modified: llvm/trunk/test/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CMakeLists.txt?rev=354630&r1=354629&r2=354630&view=diff
==============================================================================
--- llvm/trunk/test/CMakeLists.txt (original)
+++ llvm/trunk/test/CMakeLists.txt Thu Feb 21 14:24:53 2019
@@ -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(

Modified: llvm/trunk/test/Examples/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Examples/lit.local.cfg?rev=354630&r1=354629&r2=354630&view=diff
==============================================================================
--- llvm/trunk/test/Examples/lit.local.cfg (original)
+++ llvm/trunk/test/Examples/lit.local.cfg Thu Feb 21 14:24:53 2019
@@ -1 +1,2 @@
-config.unsupported = True
+if not config.build_examples:
+  config.unsupported = True
\ No newline at end of file

Modified: llvm/trunk/test/lit.site.cfg.py.in
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/lit.site.cfg.py.in?rev=354630&r1=354629&r2=354630&view=diff
==============================================================================
--- llvm/trunk/test/lit.site.cfg.py.in (original)
+++ llvm/trunk/test/lit.site.cfg.py.in Thu Feb 21 14:24:53 2019
@@ -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@




More information about the llvm-commits mailing list