chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] test egg


From: Alex Shinn
Subject: Re: [Chicken-users] test egg
Date: Tue, 1 Nov 2011 19:06:33 +0900

On Tue, Nov 1, 2011 at 6:47 PM, Mario Domenech Goulart
<address@hidden> wrote:
> Hi Curtis,
>
> On Mon, 31 Oct 2011 20:07:57 -0700 Curtis Cooley <address@hidden> wrote:
>
>> I'm trying to get the test egg working, but I'm not getting very far.
>> I'm using chicken to learn scheme, so I'm really new at all this. I'm
>> running Linux Mint 11, but I've downloaded and compiled chicken 4.7
>> because Mint came with 4.2 and I could not even get the test egg to
>> load. Any help or pointers are much appreciated. I'm trying to take a
>> TDD pass through SICM.
>>
>> Here's the output from csi:
>>
>> #;1> (require-extension test)
>> ; loading /usr/local/lib/chicken/6/test.import.so ...
>> ; loading /usr/local/lib/chicken/6/regex.import.so ...
>> ; loading /usr/local/lib/chicken/6/irregex.import.so ...
>> ; loading /usr/local/lib/chicken/6/extras.import.so ...
>> ; loading /usr/local/lib/chicken/6/test.so ...
>> ; loading /usr/local/lib/chicken/6/regex.so ...
>> #;2> (test 4 (+ 2 2))
>>
>> Error: (cdr) bad argument type: #f
>
> It seems that the latest release of the test egg is broken.  You can try
> version 0.9.9.2, which is the last before the latest (alas, you'd need a
> copy of the svn repo to find that out, since the version history in the
> docs has not been updated).
>
> To install 0.9.9.2 you can run:
>
>    $ chicken-install test:0.9.9.2
>
> I hope that helps.

It's not completely broken, you just need to call

(test-begin)

before any tests (or use test-group).

I'll fix this as soon as I get home, but it's not
very meaningful to use tests without any group.

-- 
Alex



reply via email to

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