Skip to content

Commit 431940c

Browse files
boomanaiden154google-yfyang
authored andcommitted
[CI] Upload JUnit Test Results as Artifacts (llvm#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.
1 parent 0105af0 commit 431940c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.ci/monolithic-linux.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ function at-exit {
3838

3939
ccache --print-stats > artifacts/ccache_stats.txt
4040
cp "${BUILD_DIR}"/.ninja_log artifacts/.ninja_log
41+
cp "${BUILD_DIR}"/test-results.*.xml artifacts/
4142

4243
# If building fails there will be no results files.
4344
shopt -s nullglob

.ci/monolithic-windows.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ function at-exit {
3333
mkdir -p artifacts
3434
sccache --show-stats >> artifacts/sccache_stats.txt
3535
cp "${BUILD_DIR}"/.ninja_log artifacts/.ninja_log
36+
cp "${BUILD_DIR}"/test-results.*.xml artifacts/
3637

3738
# If building fails there will be no results files.
3839
shopt -s nullglob

0 commit comments

Comments
 (0)