summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorDariqq <dariqq@posteo.net>2026-01-23 07:34:28 +0000
committerRutherther <rutherther@ditigal.xyz>2026-01-25 21:31:00 +0100
commita4d39d2cbedfd18a7c4205c155375f6ba49aec54 (patch)
tree1ea218de124b30033b023eed7227313287423498 /build-aux
parent92e2e4816cf939c094d18c297fc88031485c1ddd (diff)
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 <ludo@gnu.org> Merges: #5836 Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'build-aux')
-rwxr-xr-xbuild-aux/test-driver.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/build-aux/test-driver.scm b/build-aux/test-driver.scm
index 1c4d7b9876b..7c0c403f7ab 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 <mthl@gnu.org>
;;; Copyright © 2021 Maxim Cournoyer <maxim@guixotic.coop>
@@ -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))))