[llvm] r244674 - [lit] Don't disable the lit progress bar by default with MSVC
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 11 14:24:59 PDT 2015
Author: rnk
Date: Tue Aug 11 16:24:59 2015
New Revision: 244674
URL: http://llvm.org/viewvc/llvm-project?rev=244674&view=rev
Log:
[lit] Don't disable the lit progress bar by default with MSVC
Only disable the progress bar when we're generating VS project files,
like we do for XCode. This makes lit use the simple, non-curses progress
bar that looks like this with:
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
Testing Time: 5.87s
Modified:
llvm/trunk/CMakeLists.txt
Modified: llvm/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/CMakeLists.txt?rev=244674&r1=244673&r2=244674&view=diff
==============================================================================
--- llvm/trunk/CMakeLists.txt (original)
+++ llvm/trunk/CMakeLists.txt Tue Aug 11 16:24:59 2015
@@ -309,7 +309,7 @@ endif()
# Define the default arguments to use with 'lit', and an option for the user to
# override.
set(LIT_ARGS_DEFAULT "-sv")
-if (MSVC OR XCODE)
+if (MSVC_IDE 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")
More information about the llvm-commits
mailing list