Skip to content

Commit a11cd41

Browse files
committed
[sanitizer] Don't stop processing if time.txt is missing
1 parent 956686b commit a11cd41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zorg/buildbot/builders/sanitizers/buildbot_functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,5 +630,5 @@ function upload_stats() {
630630
-H Metadata-Flavor:Google > "${ROOT}/machine-type.txt" || true
631631
gsutil cp "${ROOT}/"{time,cpu,machine-type}".txt" "gs://sanitizer-buildbot-out/${BUILDBOT_BUILDERNAME}/${1}/${BUILDBOT_REVISION}/" || true
632632
fi
633-
cat "${ROOT}/time.txt"
633+
[[ ! -f "${ROOT}/time.txt" ]] || cat "${ROOT}/time.txt"
634634
}

0 commit comments

Comments
 (0)