[Top][All Lists]

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

Re: SRFI-64 implementation for Guile 2.0

From: Ludovic Courtès
Subject: Re: SRFI-64 implementation for Guile 2.0
Date: Sun, 22 Apr 2012 01:08:21 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.93 (gnu/linux)


Sunjoong Lee <address@hidden> skribis:

> Your implementation fails srfi-64-test.scm, a test suite for the SRFI 64.

Oh, which ones?  This is essentially the reference implementation, so it
shouldn’t fail.  But perhaps my copy of srfi-64.scm is older than

> I don't know "Display a backtrace upon error."
> In my implementation on Guile and Per's reference implementation on
> Kawa, actual-error is loged if exception occurs like this;
>   Test begin:
>     test-name: "3.3. test-begin with mismatched test-end"
>     source-file: "srfi-64-test.scm"
>     source-line: 236
>     source-form: (test-error "3.3. test-begin with mismatched test-end" #t
> (triv-runner (lambda () (test-begin "a") (test-assert "b" #t) (test-end
> "x"))))
>   Test end:
>     result-kind: pass
>     actual-error: (misc-error #f "~A" ("bad end grojup name a but expected
> x") #f)
>     expected-error: #t

Indeed, that’s better than what I’m getting.  I must be using an old
version of srfi-64.scm.


reply via email to

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