Ported srfi-64 testing to R6RS

Asked by higepon(Taro Minowa) on 2009-03-26

Hi.
I have ported (srfi :64 testing) to R6RS.
This port is based on testing.scm at http://srfi.schemers.org/srfi-64/srfi-64.html.

It works fine on my Mosh Scheme(svn trunk).
Since Mosh uses your srfi libraries, it may work on another R6RSs.

Tests for srfi-64 works as well. (it has two failures, but I think they are expected).

http://www.monaos.org/downloads/srfi-64.tar.gz

I will be very happy if this port proves helpful for your libraries.

Cheers.

-----
Taro Minowa(Higepon)

http://www.monaos.org/
http://code.google.com/p/mosh-scheme/

Question information

Language:
English Edit question
Status:
Solved
For:
Scheme Libraries Edit question
Assignee:
No assignee Edit question
Solved by:
Derick Eddington
Solved:
Last query:
Last reply:
Revision history for this message
higepon(Taro Minowa) (higepon) said :
#1

Sorry , I found the bug on test-error.
I will fix it later.

Revision history for this message
higepon(Taro Minowa) (higepon) said :
#2

Fixed. please replace %test-error

(define-syntax %test-error
  (syntax-rules ()
    ((%test-error r etype expr)
     (guard (ex
             ((procedure? etype)
              (etype ex))
             ((equal? etype #t)
              #t)
             (else
              #t))
            expr #f)]))

Revision history for this message
Best Derick Eddington (derick-eddington) said :
#3

Thanks for the contribution! But actually, I had already started my own port of SRFI 64 (I stopped because I don't like SRFI 64). Since you want it, I finished my port; it fixes a number of bugs your's did not and it adds support for the 'source-form property. Added in revision 70.

Revision history for this message
higepon(Taro Minowa) (higepon) said :
#4

Thank you for your port.

>I stopped because I don't like SRFI 64

Well, me too.
I think we need faster xUnit framework for R6RS.

>it adds support for the 'source-form property

Great. I will replace my port to yours in Mosh.

Cheers.