Skip to content

Commit a785e5c

Browse files
committed
[runtimes] Set a default value for LLVM_LIT_ARGS
This matches the value used in libcxx/cmake/Modules/HandleOutOfTreeLLVM.cmake. Differential Revision: https://reviews.llvm.org/D110987
1 parent c2eff3d commit a785e5c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

runtimes/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,12 @@ if(LLVM_INCLUDE_TESTS)
178178
# Add a global check rule now that all subdirectories have been traversed
179179
# and we know the total set of lit testsuites.
180180

181+
set(LIT_ARGS_DEFAULT "-sv --show-xfail --show-unsupported")
182+
if (MSVC OR XCODE)
183+
set(LIT_ARGS_DEFAULT "${LIT_ARGS_DEFAULT} --no-progress-bar")
184+
endif()
185+
set(LLVM_LIT_ARGS "${LIT_ARGS_DEFAULT}" CACHE STRING "Default options for lit")
186+
181187
add_lit_target(check-runtimes
182188
"Running all regression tests"
183189
${RUNTIMES_LIT_TESTSUITES}

0 commit comments

Comments
 (0)