[llvm] [bazel] Reduce output on CI (PR #94298)

Keith Smiley via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 3 17:39:57 PDT 2024


https://github.com/keith created https://github.com/llvm/llvm-project/pull/94298

This makes bazel only show the output for tests that don't pass. This
should reduce a ton of info in the log to make it easier to find
failures. The log is so long now that you can no longer view the whole
thing in 1 buildkite job.


>From 8706080bf3b6d87f9bd325b20ea500d97fa5e879 Mon Sep 17 00:00:00 2001
From: Keith Smiley <keithbsmiley at gmail.com>
Date: Tue, 4 Jun 2024 00:38:59 +0000
Subject: [PATCH] [bazel] Reduce output on CI

This makes bazel only show the output for tests that don't pass. This
should reduce a ton of info in the log to make it easier to find
failures. The log is so long now that you can no longer view the whole
thing in 1 buildkite job.
---
 utils/bazel/.bazelrc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/utils/bazel/.bazelrc b/utils/bazel/.bazelrc
index 09111bcdc834e..975667f8fa811 100644
--- a/utils/bazel/.bazelrc
+++ b/utils/bazel/.bazelrc
@@ -201,6 +201,9 @@ build:ci --keep_going
 # Show test errors.
 build:ci --test_output=errors
 
+# Only show failing tests to reduce output
+build:ci --test_summary=terse
+
 ###############################################################################
 
 # The user.bazelrc file is not checked in but available for local mods.



More information about the llvm-commits mailing list