[llvm] [CI] Add --succinct to lit args (PR #152335)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 6 09:30:59 PDT 2025
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/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. 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.
>From 56755d03db98ca0687d99475d58cf61f9caf5d66 Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Wed, 6 Aug 2025 16:29:28 +0000
Subject: [PATCH] [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.
---
.ci/monolithic-linux.sh | 2 +-
.ci/monolithic-windows.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.ci/monolithic-linux.sh b/.ci/monolithic-linux.sh
index da21e09809aee..8d7793f417d62 100755
--- a/.ci/monolithic-linux.sh
+++ b/.ci/monolithic-linux.sh
@@ -64,7 +64,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
diff --git a/.ci/monolithic-windows.sh b/.ci/monolithic-windows.sh
index 71646ce047d4f..ea83175446e78 100755
--- a/.ci/monolithic-windows.sh
+++ b/.ci/monolithic-windows.sh
@@ -76,7 +76,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 \
More information about the llvm-commits
mailing list