Skip to content

Commit 56755d0

Browse files
[CI] Add --succinct to lit args
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. We should only indicate progress rather than explicitly logging any test that we run. 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.
1 parent ab40909 commit 56755d0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.ci/monolithic-linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ runtime_targets="${4}"
6464
runtime_targets_needs_reconfig="${5}"
6565
enable_cir="${6}"
6666

67-
lit_args="-v --xunit-xml-output ${BUILD_DIR}/test-results.xml --use-unique-output-file-name --timeout=1200 --time-tests"
67+
lit_args="-v --xunit-xml-output ${BUILD_DIR}/test-results.xml --use-unique-output-file-name --timeout=1200 --time-tests --succinct"
6868

6969
start-group "CMake"
7070
export PIP_BREAK_SYSTEM_PACKAGES=1

.ci/monolithic-windows.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ cmake -S "${MONOREPO_ROOT}"/llvm -B "${BUILD_DIR}" \
7676
-D LLVM_ENABLE_ASSERTIONS=ON \
7777
-D LLVM_BUILD_EXAMPLES=ON \
7878
-D COMPILER_RT_BUILD_LIBFUZZER=OFF \
79-
-D LLVM_LIT_ARGS="-v --xunit-xml-output ${BUILD_DIR}/test-results.xml --use-unique-output-file-name --timeout=1200 --time-tests" \
79+
-D LLVM_LIT_ARGS="-v --xunit-xml-output ${BUILD_DIR}/test-results.xml --use-unique-output-file-name --timeout=1200 --time-tests --succinct" \
8080
-D COMPILER_RT_BUILD_ORC=OFF \
8181
-D CMAKE_C_COMPILER_LAUNCHER=sccache \
8282
-D CMAKE_CXX_COMPILER_LAUNCHER=sccache \

0 commit comments

Comments
 (0)