[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] tests: Determine current test runner before test-end is call

From: Ludovic Courtès
Subject: Re: [PATCH] tests: Determine current test runner before test-end is called
Date: Wed, 29 Sep 2021 18:39:45 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)


vzh <> skribis:

> On Fri, Jun 18, 2021 at 07:51:15PM +0200, wrote:
>> From: Sören Tempel <>
>> According to SRFI 64 test-end will remove the test-runner installed by
>> the matching test-begin. As such, it seems that test-runner-current will
>> return #f, if called after test-end. Since all skribilo test cases call
>> test-runner-current after test-end, the following exception is currently
>> thrown with Guile 3.0.6:


> It rather an issue with the Guile version you use.  In lepton-eda
> we had to work around it by editing tests.  SRFI-64 was broken
> in Guile somewhere between 3.0.5 and 3.0.6.  The 3.0.7 release
> promises to fix the issue.  Try it first.

Sorry for the long delay.  AFAICS, 3.0.7 still has this “problem” that
‘test-runner-current’ is #f after ‘test-end’.

I fixed it in a slightly different way compared to the pat Sören posted,
by adding the “test driver” that’s also used in Guix, which in turn
allows us to remove those (exit …) statements altogether:

Thank you, and apologies for the looong delay!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]