[PATCH] D22836: Add option to diable Bitcode tests. Tests are enabled by default.

Alina Sbirlea via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 26 16:21:41 PDT 2016


asbirlea updated this revision to Diff 65627.
asbirlea added a comment.

Update commit message with rationale.


https://reviews.llvm.org/D22836

Files:
  Bitcode/CMakeLists.txt

Index: Bitcode/CMakeLists.txt
===================================================================
--- Bitcode/CMakeLists.txt
+++ Bitcode/CMakeLists.txt
@@ -1,7 +1,10 @@
-if(NOT TEST_SUITE_BENCHMARKING_ONLY)
-  llvm_add_subdirectories(Regression)
-  if(ARCH STREQUAL "x86")
-    llvm_add_subdirectories(simd_ops)
+set(TEST_SUITE_ENABLE_BITCODE_TESTS "True" CACHE BOOL "Enable bitcode tests")
+if(TEST_SUITE_ENABLE_BITCODE_TESTS)
+  if(NOT TEST_SUITE_BENCHMARKING_ONLY)
+    llvm_add_subdirectories(Regression)
+    if(ARCH STREQUAL "x86")
+      llvm_add_subdirectories(simd_ops)
+    endif()
   endif()
 endif()
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22836.65627.patch
Type: text/x-patch
Size: 614 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160726/d18b9dea/attachment.bin>


More information about the llvm-commits mailing list