From 671e55bb3bbbb3467dee5d6e438ea897acda814e Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 29 Sep 2021 18:21:19 +0200 Subject: build: Use SRFI-64 test suite driver as found in Guix. This works around the fact that SRFI-64 in Guile 3.0.6+, 'test-runner-current' returns #f after 'test-end'. It also gives us a more featureful test runner, where one can do things like: make check TEST_LOG_DRIVER_FLAGS="--brief=no --show-duration=yes" Reported by . * build-aux/test-driver.scm: New file. * Makefile.am (EXTRA_DIST): Add it. * tests/Makefile.am (TEST_LOG_DRIVER): New variable. (TEST_LOG_COMPILER): New variable. * tests/ast.test, tests/engines/info.test, tests/location.test, tests/readers/rss-2.test, tests/resolve.test: Remove call to 'exit'. --- tests/resolve.test | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tests/resolve.test') diff --git a/tests/resolve.test b/tests/resolve.test index 1241aab..41e93d8 100644 --- a/tests/resolve.test +++ b/tests/resolve.test @@ -1,6 +1,6 @@ ;;; Excercise the `resolve' routines. -*- Scheme -*- ;;; -;;; Copyright (C) 2009 Ludovic Courtès +;;; Copyright (C) 2009, 2021 Ludovic Courtès ;;; ;;; This file is part of Skribilo. ;;; @@ -215,5 +215,3 @@ (test-end "resolve") - -(exit (= (test-runner-fail-count (test-runner-current)) 0)) -- cgit v1.2.3