From fdce4439e62f00d8dfc39ce1231248f5c212e0e5 Mon Sep 17 00:00:00 2001 From: Alexander Kuzmenkov <36882414+akuzm@users.noreply.github.com> Date: Thu, 7 Nov 2024 15:48:08 +0100 Subject: [PATCH] Adapt test result parser for latest pg_regress output (#7418) We only parsed the old format that is used up to PG15. --- scripts/upload_ci_stats.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/upload_ci_stats.sh b/scripts/upload_ci_stats.sh index 8bbfc924a3e..086f7648cf3 100755 --- a/scripts/upload_ci_stats.sh +++ b/scripts/upload_ci_stats.sh @@ -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.