[CI] Add --succinct to lit args (#152335)
We currently log every single test that we run in premerge. This leads to gigantic logs (200k+ lines on Linux) that can be difficult to parse through. Having an indicator of progress is nice, especially for the LLVM tests, but is not strictly necessary and not often used (I imagine). Having a progress indicator from lit that works in CI cases is on my TODO list. For the rare cases where someone does need to see the list of tests that run, the JUnit XML emitted by lit is available in the artifacts.
This commit is contained in:
parent
f3bf8e0166
commit
cfa00d4daf
@ -29,7 +29,7 @@ runtime_targets="${4}"
|
||||
runtime_targets_needs_reconfig="${5}"
|
||||
enable_cir="${6}"
|
||||
|
||||
lit_args="-v --xunit-xml-output ${BUILD_DIR}/test-results.xml --use-unique-output-file-name --timeout=1200 --time-tests"
|
||||
lit_args="-v --xunit-xml-output ${BUILD_DIR}/test-results.xml --use-unique-output-file-name --timeout=1200 --time-tests --succinct"
|
||||
|
||||
start-group "CMake"
|
||||
export PIP_BREAK_SYSTEM_PACKAGES=1
|
||||
|
@ -39,7 +39,7 @@ cmake -S "${MONOREPO_ROOT}"/llvm -B "${BUILD_DIR}" \
|
||||
-D LLVM_ENABLE_ASSERTIONS=ON \
|
||||
-D LLVM_BUILD_EXAMPLES=ON \
|
||||
-D COMPILER_RT_BUILD_LIBFUZZER=OFF \
|
||||
-D LLVM_LIT_ARGS="-v --xunit-xml-output ${BUILD_DIR}/test-results.xml --use-unique-output-file-name --timeout=1200 --time-tests" \
|
||||
-D LLVM_LIT_ARGS="-v --xunit-xml-output ${BUILD_DIR}/test-results.xml --use-unique-output-file-name --timeout=1200 --time-tests --succinct" \
|
||||
-D COMPILER_RT_BUILD_ORC=OFF \
|
||||
-D CMAKE_C_COMPILER_LAUNCHER=sccache \
|
||||
-D CMAKE_CXX_COMPILER_LAUNCHER=sccache \
|
||||
|
Loading…
x
Reference in New Issue
Block a user