Skip to content

Commit

Permalink
[sanitizer] Make "sanitizer logs" name unique
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalybuka committed Feb 4, 2025
1 parent 8334a0c commit 58cb365
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion zorg/buildbot/builders/sanitizers/buildbot_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ SANITIZER_LOG_DIR=$ROOT/sanitizer_logs

function build_step() {
echo "@@@BUILD_STEP ""$@""@@"
CURRENT_STEP="$@"
}

function include_config() {
Expand Down Expand Up @@ -167,7 +168,7 @@ function buildbot_update {

function print_sanitizer_logs() {
if compgen -G "${SANITIZER_LOG_DIR}"/* ; then
build_step "sanitizer logs"
build_step "sanitizer logs: ${CURRENT_STEP}"
head -n -1 "${SANITIZER_LOG_DIR}"/*
buildbot_build && rm -rf "${SANITIZER_LOG_DIR}"/*
build_warning
Expand Down

0 comments on commit 58cb365

Please sign in to comment.