gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet-scheme] 01/03: tests/distributed-hash-table: Report errors with


From: gnunet
Subject: [gnunet-scheme] 01/03: tests/distributed-hash-table: Report errors with Guile, not RnRS.
Date: Tue, 15 Feb 2022 18:42:53 +0100

This is an automated email from the git hooks/post-receive script.

maxime-devos pushed a commit to branch master
in repository gnunet-scheme.

commit 2e3530f0b629a5bb72b78dcfd0d7231600e18db6
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Tue Feb 15 17:36:14 2022 +0000

    tests/distributed-hash-table: Report errors with Guile, not RnRS.
    
    The Guile and RnRS 'error' procedure have a different API.  The tests
    expect Guile's API, so actually use Guile's 'error' procedure.
    
    * tests/distributed-hash-table.csm (error): New variable.
---
 tests/distributed-hash-table.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/distributed-hash-table.scm b/tests/distributed-hash-table.scm
index 90b8f73..74efce7 100644
--- a/tests/distributed-hash-table.scm
+++ b/tests/distributed-hash-table.scm
@@ -49,6 +49,9 @@
        (fibers timers) ; sleep
        (tests utils))
 
+;; Use the @code{error} from Guile, not RnRS.
+(define error (@ (guile) error))
+
 ;; Copied from tests/bv-slice.scm.
 (define-syntax-rule (test-missing-caps test-case what permitted required code)
   (test-equal test-case

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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