Skip to content

Commit cd64eb1

Browse files
authored
LIT argument --incremental is deprecated
``` WARNING: --incremental is deprecated. Failing tests now always run first. ```
1 parent 6f44ba4 commit cd64eb1

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

test/CMakeLists.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,7 @@ endfunction()
128128

129129
set(LIT "${LLVM_MAIN_SRC_DIR}/utils/lit/lit.py")
130130

131-
# Incremental mode in lit orders test files by the last modification time
132-
# instead of by the path, which is good for CI. In this mode lit also updates
133-
# the mtime on the failed tests, which makes them run first on the
134-
# consecutive execution, which makes local builds fail faster.
135-
set(SWIFT_LIT_ARGS "--incremental" CACHE STRING "Arguments to pass to lit")
131+
set(SWIFT_LIT_ARGS "" CACHE STRING "Arguments to pass to lit")
136132

137133
set(SWIFT_LIT_ENVIRONMENT "" CACHE STRING "Environment to use for lit invocations")
138134

0 commit comments

Comments
 (0)