Skip to content

Commit

Permalink
Adapt test result parser for latest pg_regress output (#7418)
Browse files Browse the repository at this point in the history
We only parsed the old format that is used up to PG15.
  • Loading branch information
akuzm authored Nov 7, 2024
1 parent e458ff4 commit fdce443
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/upload_ci_stats.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ then
match($0, /^(test| ) ([^ ]+)[ ]+\.\.\.[ ]+([^ ]+) (|\(.*\))[ ]+([0-9]+) ms$/, a) {
print ENVIRON["JOB_DATE"], a[2], tolower(a[3] (a[4] ? (" " a[4]) : "")), a[5];
}
match($0, /^([^0-9]+) [0-9]+ +- ([^ ]+) +([0-9]+) ms/, a) {
print ENVIRON["JOB_DATE"], a[2], a[1], a[3];
}
' installcheck.log > tests.tsv

# Save the test results into the database.
Expand Down

0 comments on commit fdce443

Please sign in to comment.