[libcxx-commits] [PATCH] D110987: [runtimes] Set a default value for LLVM_LIT_ARGS

Martin Storsjö via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sat Oct 2 01:16:40 PDT 2021


mstorsjo created this revision.
mstorsjo added a reviewer: phosek.
Herald added a subscriber: mgorny.
mstorsjo requested review of this revision.
Herald added projects: libc++, libc++abi.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.
Herald added a reviewer: libc++abi.

This matches the value used in
libcxx/make/Modules/HandleOutOfTreeLLVM.cmake.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D110987

Files:
  runtimes/CMakeLists.txt


Index: runtimes/CMakeLists.txt
===================================================================
--- runtimes/CMakeLists.txt
+++ runtimes/CMakeLists.txt
@@ -178,6 +178,12 @@
   # Add a global check rule now that all subdirectories have been traversed
   # and we know the total set of lit testsuites.
 
+  set(LIT_ARGS_DEFAULT "-sv --show-xfail --show-unsupported")
+  if (MSVC OR XCODE)
+    set(LIT_ARGS_DEFAULT "${LIT_ARGS_DEFAULT} --no-progress-bar")
+  endif()
+  set(LLVM_LIT_ARGS "${LIT_ARGS_DEFAULT}" CACHE STRING "Default options for lit")
+
   add_lit_target(check-runtimes
     "Running all regression tests"
     ${RUNTIMES_LIT_TESTSUITES}


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110987.376677.patch
Type: text/x-patch
Size: 654 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20211002/100869ce/attachment-0001.bin>


More information about the libcxx-commits mailing list