File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -29,11 +29,13 @@ if [[ -n "${CLEAR_CACHE:-}" ]]; then
2929fi
3030
3131function at-exit {
32- python3 " ${MONOREPO_ROOT} " /.ci/generate_test_report.py " :linux: Linux x64 Test Results" \
33- " linux-x64-test-results" " ${BUILD_DIR} " /test-results.* .xml
34-
3532 mkdir -p artifacts
3633 ccache --print-stats > artifacts/ccache_stats.txt
34+
35+ # If building fails there will be no results files.
36+ shopt -s nullglob
37+ python3 " ${MONOREPO_ROOT} " /.ci/generate_test_report.py " :linux: Linux x64 Test Results" \
38+ " linux-x64-test-results" " ${BUILD_DIR} " /test-results.* .xml
3739}
3840trap at-exit EXIT
3941
Original file line number Diff line number Diff line change 2828
2929sccache --zero-stats
3030function at-exit {
31- python " ${MONOREPO_ROOT} " /.ci/generate_test_report.py " :windows: Windows x64 Test Results" \
32- " windows-x64-test-results" " ${BUILD_DIR} " /test-results.* .xml
33-
3431 mkdir -p artifacts
3532 sccache --show-stats >> artifacts/sccache_stats.txt
33+
34+ # If building fails there will be no results files.
35+ shopt -s nullglob
36+ python " ${MONOREPO_ROOT} " /.ci/generate_test_report.py " :windows: Windows x64 Test Results" \
37+ " windows-x64-test-results" " ${BUILD_DIR} " /test-results.* .xml
3638}
3739trap at-exit EXIT
3840
You can’t perform that action at this time.
0 commit comments