mirror of
https://github.com/openai/codex.git
synced 2026-09-10 20:26:47 +00:00
Compact Bazel failure summary
This commit is contained in:
18
.github/scripts/run-bazel-ci.sh
vendored
18
.github/scripts/run-bazel-ci.sh
vendored
@@ -162,28 +162,14 @@ print_failed_bazel_test_logs() {
|
||||
fi
|
||||
done
|
||||
|
||||
echo
|
||||
echo "Bazel failed test targets:"
|
||||
for target_log in "${failed_target_logs[@]}"; do
|
||||
local target="${target_log%%$'\t'*}"
|
||||
echo " FAIL ${target}"
|
||||
done
|
||||
|
||||
echo
|
||||
awk -F '\t' '
|
||||
BEGIN {
|
||||
print "Rust test failures across failed Bazel targets:"
|
||||
print "Rust test failures:"
|
||||
}
|
||||
$1 == "F" {
|
||||
saw_failure = 1
|
||||
if ($2 != current_target) {
|
||||
if (current_target != "") {
|
||||
print ""
|
||||
}
|
||||
current_target = $2
|
||||
print " " current_target
|
||||
}
|
||||
print " " $3
|
||||
print " FAIL " $2 " " $3
|
||||
}
|
||||
$1 == "T" {
|
||||
passed += $3
|
||||
|
||||
Reference in New Issue
Block a user