1
0
mirror of https://github.com/timescale/timescaledb.git synced 2025-05-20 20:54:29 +08:00

Adapt test result parser for latest pg_regress output ()

We only parsed the old format that is used up to PG15.
This commit is contained in:
Alexander Kuzmenkov 2024-11-07 15:48:08 +01:00 committed by GitHub
parent e458ff48c0
commit fdce4439e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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.