guix_mirror_bot pushed a commit to branch next-master
in repository guix.
commit 920043cf0e1294da46e15539cc93af0e63bffe57
Author: Dariqq <[email protected]>
AuthorDate: Fri Jan 23 07:34:28 2026 +0000
build: test-driver.scm: Fix test-reporting with guile 3.0.11.
With srfi-64 from guile 3.0.11 the test name is no longer in the
test-result-alist.
* build-aux/test-driver.scm (test-runner-gnu): Use test-runner-test-name to
access test-name.
Change-Id: I53d0fdd8db0d1af5e636e3f2a68280cd2bddfe4c
Signed-off-by: Ludovic Courtès <[email protected]>
Merges: #5836
---
build-aux/test-driver.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/build-aux/test-driver.scm b/build-aux/test-driver.scm
index 1c4d7b9876..7c0c403f7a 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" "$@"
!#
;;;; test-driver.scm - Guile test driver for Automake testsuite harness
-(define script-version "2023-12-08.14") ;UTC
+(define script-version "2026-01-23.07") ;UTC
;;; Copyright © 2015, 2016 Mathieu Lirzin <[email protected]>
;;; Copyright © 2021 Maxim Cournoyer <[email protected]>
@@ -151,7 +151,7 @@ cases based on their names."
(and show-duration? time-elapsed-seconds)))
(unless (and errors-only? (not (test-failed? runner)))
- (format #t "test-name: ~A~%" (result 'test-name))
+ (format #t "test-name: ~A~%" (test-runner-test-name runner))
(format #t "location: ~A~%"
(string-append (result 'source-file) ":"
(number->string (result 'source-line))))