[llvm] [CI] Upload JUnit Test Results as Artifacts (PR #141905)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Thu May 29 00:05:45 PDT 2025
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/141905
This enables a script to come through later and download all the test files for further offline analysis. This is intended to enable developing a tool that can spot flaky tests.
>From 67152c495a07bbe731e70cc9e342519bdbc71b63 Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Thu, 29 May 2025 07:03:55 +0000
Subject: [PATCH] [CI] Upload JUnit Test Results as Artifacts
This enables a script to come through later and download all the test
files for further offline analysis. This is intended to enable
developing a tool that can spot flaky tests.
---
.ci/monolithic-linux.sh | 1 +
.ci/monolithic-windows.sh | 1 +
2 files changed, 2 insertions(+)
diff --git a/.ci/monolithic-linux.sh b/.ci/monolithic-linux.sh
index 6ed6ffbfbd06d..5d0fbf5d0a269 100755
--- a/.ci/monolithic-linux.sh
+++ b/.ci/monolithic-linux.sh
@@ -38,6 +38,7 @@ function at-exit {
ccache --print-stats > artifacts/ccache_stats.txt
cp "${BUILD_DIR}"/.ninja_log artifacts/.ninja_log
+ cp "${BUILD_DIR}"/test-results.*.xml artifacts/
# If building fails there will be no results files.
shopt -s nullglob
diff --git a/.ci/monolithic-windows.sh b/.ci/monolithic-windows.sh
index 43e89de7da61e..dc9667718946a 100755
--- a/.ci/monolithic-windows.sh
+++ b/.ci/monolithic-windows.sh
@@ -33,6 +33,7 @@ function at-exit {
mkdir -p artifacts
sccache --show-stats >> artifacts/sccache_stats.txt
cp "${BUILD_DIR}"/.ninja_log artifacts/.ninja_log
+ cp "${BUILD_DIR}"/test-results.*.xml artifacts/
# If building fails there will be no results files.
shopt -s nullglob
More information about the llvm-commits
mailing list