summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild-aux/test-driver.scm19
1 files changed, 15 insertions, 4 deletions
diff --git a/build-aux/test-driver.scm b/build-aux/test-driver.scm
index 20bd8f095ed..6eb3a863f6a 100755
--- a/build-aux/test-driver.scm
+++ b/build-aux/test-driver.scm
@@ -3,7 +3,7 @@ exec guile --no-auto-compile -e main -s "$0" "$@"
3!# 3!#
4;;;; test-driver.scm - Guile test driver for Automake testsuite harness 4;;;; test-driver.scm - Guile test driver for Automake testsuite harness
5 5
6(define script-version "2026-03-19.14") ;UTC 6(define script-version "2026-03-20.08") ;UTC
7 7
8;;; Copyright © 2015, 2016 Mathieu Lirzin <mthl@gnu.org> 8;;; Copyright © 2015, 2016 Mathieu Lirzin <mthl@gnu.org>
9;;; Copyright © 2021 Maxim Cournoyer <maxim@guixotic.coop> 9;;; Copyright © 2021 Maxim Cournoyer <maxim@guixotic.coop>
@@ -191,9 +191,20 @@ called to do the final reporting."
191 (positive? (test-runner-xpass-count runner)))) 191 (positive? (test-runner-xpass-count runner))))
192 (skip (or (positive? (test-runner-skip-count runner)) 192 (skip (or (positive? (test-runner-skip-count runner))
193 (positive? (test-runner-xfail-count runner))))) 193 (positive? (test-runner-xfail-count runner)))))
194 ;; XXX: The global results need some refinements for XPASS. 194 (format trs-port ":test-global-result: ~{~A~^,~}~%"
195 (format trs-port ":global-test-result: ~A~%" 195 (filter-map (λ (proc str)
196 (if fail "FAIL" (if skip "SKIP" "PASS"))) 196 (let ((n (proc runner)))
197 (if (positive? n) str #f)))
198 (list test-runner-pass-count
199 test-runner-fail-count
200 test-runner-xpass-count
201 test-runner-xfail-count
202 test-runner-skip-count)
203 (list "PASS"
204 "FAIL"
205 "XPASS"
206 "XFAIL"
207 "SKIP")))
197 (format trs-port ":recheck: ~A~%" 208 (format trs-port ":recheck: ~A~%"
198 (if fail "yes" "no")) 209 (if fail "yes" "no"))
199 (format trs-port ":copy-in-global-log: ~A~%" 210 (format trs-port ":copy-in-global-log: ~A~%"