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 (#7418)
We only parsed the old format that is used up to PG15.
This commit is contained in:
parent
e458ff48c0
commit
fdce4439e6
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user